An analysis of the Gallop World Poll finds that there is an association with religion and increased happiness, but only in societies that lack adequate social support. Christie Nicholson reports