If I needed bread to eat, I would thank the one that gave me bread, and curse the one that offered prayer instead.
Praying is great, but it was never meant as a replacement for doing things (except judgement, I know we are supposed to leave that to God).