Prayer and meditation facilitate integration

In some religions, prayer is undertaken, not with the intention of influencing a deity, nor with any hope of prayers being directly answered, but in order to produce a harmonious state of mind. Prayer and meditation facilitate integration by allowing time for previously unrelated thoughts and feelings to interact. Being able to get in touch with one's deepest thoughts and feelings, and providing time for them to regroup themselves into new formations and combinations, are important aspects of the creative process, as well as a way of relieving tension and promoting mental health ... Human beings easily become alienated from their own deepest needs and feelings. Learning, thinking, innovation and maintaining contact with one's own inner world are all facilitated by solitude.

~ from SOLITUDE: A RETURN TO THE SELF by Anthony Storr