The idea of a general resurrection (and heaven) was well expressed in very early Jewish belief.
• Taught in Psalms.
• Taught in Hosea 13 etc.
• Daniel 12:2-3 — Many of those who sleep in the dust of the ground will awake, these to everlasting life, but the others to disgrace and everlasting contempt. 3 Those who have insight will shine brightly like the brightness of the expanse of heaven, and those who lead the many to righteousness, like the stars forever and ever.
• Isaiah 25:8 — He will swallow up death for all time, And the Lord God will wipe tears away from all faces, And He will remove the reproach of His people from all the earth; For the Lord has spoken.
• Isaiah 26:19 — Your dead will live; Their corpses will rise. You who lie in the dust, awake and shout for joy, For your dew is as the dew of the dawn, And the earth will give birth to the departed spirits.
In the book of Genesis, it is implied that Adam (and those after him) faced ultimate/permanent death if and only if they transgressed one or more of God's commandments (i.e. sinned).
• In Genesis, we read of Adam and Eve initially being created by God in a paradise—“the garden of Eden.” There they were commanded not to eat from a particularly fruit tree, and warned that if they did they would die.1 The text seems to imply this was in fact the only way they would die. Putting the pieces together, God gave them a free choice to do right or wrong. In doing wrong, they came to intimitately know sin (guilt), and it was this that more specifically which was the cause of their death.
• Isaac’s father anticipated his son’s death and resurrection.
• Psalm 16:10 says (“[won’t] allow your Holy one to undergo decay).
• Hosea 6:1-2
• Job 19:25-26
The Old testament teaches that God is all-powerful and all-good.