You are missing the forest for the trees with that overly simplistic worldview. Prayer isn't for the "gods." Prayer is for you. The practical application of religious beliefs - prayer being only one aspect - is not about the "gods." The practical application of religious beliefs are about evolving your consciousness so as to be able to see reality. It is extremely powerful and leads to happiness and joy through the storms of life. The only one you are harming with your beliefs is yourself.I exist.
Amaterasu doesn't
Jehovah doesn't.
Zeus doesn't
Allah doesn't
Krishna doesn't
So I can either pray to one of the imaginary sky fairies to solve my problems, or I can solve them myself.