The Buddha said: All the evil deeds I have done in the past were all caused by beginningless greed, anger, and delusion, arising from my body, speech, and mind. I now repent of all of them. ---Confession
Humans have human nature, and ghosts have ghost realms. They originally exist in different spaces and never intersect. Unfortunately, things in the world do not completely follow the laws of the world. If ghosts have obsessions, they may not be unable to survive in the world and do some strange things that disturb gods. If people have selfish intentions, they will fall into the ghost realm at any time, and their eternal life will be swallowed by darkness.
Intention: good will be rewarded with good, evil will be rewarded with evil.