I think Shakespeare had a lot to contribute with his understanding of the human condition.
The belief in some being who can be the judge of all human matters is a very comfortable one - all wrongs will be righted and all rights will be rewarded.