the beauty of Buddhism is it doesn't affirm or deny a god/gods. I does rely on karma.Karma is sum total of your thought/deeds/actions, in this and past lives.
we also believe the chi (bodily energy) either goes back for rebirth, but the way out of cyclical rebirth, is to SELF profect.
So you are in charge of your life, your life determines what happens when you die - no gods like in Egypt "weighing the heart".
It's simple/logical. (In order to attain Buddhahood, all bodhisattvas [i.e., those who aspire to become buddhas] have to perfect, during innumerable lives, these 10 paramitas: charity, morality, renunciation, wisdom, effort, patience, truth, determination, universal love, and equanimity.)
These are obtained thru adherence to the Nobel Path