Idries Shah said this quote

When prayer, rituals and ascetic life are just a means of self-indulgence, they are harmful rather than beneficial.