Religion, heaven and hell, have never been about good and evil, it has always been about defining piety and sin so as to control the minutia of life and by extension control everything else.
No doubt. A great quote.
ORIGINS OF HEAVEN AND HELL - A SIMPLE EXPLANATION
I think the origins of heaven and hell are in the stories told by traveling story tellers. It was an attractive profession when being able to have a full meal, clothing and shelter were thought to be a good life. Story tellers were highly sought by the nobles, royalties and rich families as much they were by the middle and lower classes.
These story tellers told of the places that had pleasures, peace, luxury and peace people could dream of. People listened with a shock and awe. They were told if they worked hard and perform good deeds, their luck would take them there in next life. But the message was the good, model people lived in happy places with no sorrow. Most places in Europe were though to be better civilized societies.
Story tellers also told of barbaric places of injustice, risk, cannibals and violence. Most of these places were thought to be in Latin America and Africa. This was hell.
After this, the local medicine men took over and put their own spin on the stories and began telling people how things must be, how the medicine men and elders must be followed and what punishment they would get from fate if they didn't. The savvy people in tribes so this as an excellent opportunity to grab power. Nothing else got their attention as much as the lure of something very good and a punishment for disobedience with the fear of an invisible power. So, the mumbo jumbo grew and grew and grew ridiculously into faith, religion and Gods.
Just look at the similarities among stories of Odysseys and Lord Ram, Moses and Lord Krishna, 8 virgin mothers across epics in various cultures. These similarities came from story tellers recycling stories from one land to another.