Dennett also mentions that religion might help reaching decisions to take action in absence of sufficient real data - not necessarily the best ones, but often no decision and consequently inaction is worse than a suboptimal one.
The fool hath said in his heart, There is a God. They are corrupt, they have done abominable works, there is none that doeth good.
Psalm 14, KJV revised edition