Religion contains delusion, but it also tends to contain centuries of philosophy, and a set of guidelines to living life. Irreligious people tend to keep the delusion part, and throw all the rest away.