Haidt is an atheist who thinks religion is/was necessary.
http://www.cnn.com/2012/04/01/opinion/haidt-religion-evolution/index.html?hpt=hp_t3
There's a whole book that goes into this theory in much more detail: Why God Won't Go Away. Very interesting read.