When the early Jewish scriptures were written, many Jews believed that on death, all people would descend to a dark place called Sheol. As Jews came into contact with other influences, further teachings developed, which included teachings on Gan Eden and Gehenna. Sheol then became a place of purification before the individual was sent on to wither Gan Eden or destroyed completely. Later teachings included the idea that judgement would happen after the coming of the Mashiach