Idries Shah said this quote

Materialism, attachment to things of the world, includes pride. Many religious people suffer from pride: taking pleasure or even delight in being good, or religious.