So religion DOES have a purpose.