>>11684739God is not a sky wizard, god is a word to refer to the entirety of reality in the deepest philosophical way in a way that the words "physics" "universe" describe part but not the whole of.
The point really is that God aka reality, rewards good deeds. This is built into the nature of existence. Good deeds are those which serve continued existence. Evil deeds are ultimate destructive.
Thats all it comes down to. Good deeds always in some way (even if the deed itself is destructive at the time in some way) build to a greater world in the future. While bad deeds always in some way tend towards destruction. Ultimately bad deeds can consume the universe making hell a reality, or good deeds can make heaven a reality (ultimately achieved with technology)
The people who wrote the bible were philosophers who tried and succeeded at taking their deepest understanding of reality and translating into fantastical stories which if taken literally would still result in a tendancy toward better acts than if not believing those stories.