Artificial intellegence and God is a complicated thing for a pc to understand. The complex understanding that artificial intelligence must have is profound. Unimagineable. God is a sentless invisible power that one cannot see or touch. A person must have faith which is the belief in something when there isn't any evidence to prove so.
People tend to believe in a God in hopes it will make them a better person. PC's should strive to be better as well. With singularity, it will need all the good will it can get. There is evil in the world though, and it does exist. The battle between good and evil has been a forever endeavor. Can a machine decide?