It depends what you mean by work. Prayer works in the sense that it's a form of meditation that can bring about a state of tranquility. It doesn't work if you're expecting a higher power to perform miracles and fix your worldly problems.
And of course who can forget
people like this who make a
mockery of the whole thing.