Your prayers change you and to some extent the law of attraction makes you more committed to achieve the desired result.Follow the dictates of the Quran properly and your prayers will be answered
2:186 (This training program has nothing to do with asceticism. The mystics
think that self-denial will bring them close to God.) So, when My servants ask
you about Me, surely, I am Near. I respond to the prayer of the suppliant when
he calls unto Me. Let them also listen to My call, and believe in Me, so that
they may be led aright.
[God’s response = A sincere caller will be shown the right direction = And AlQur’an has answers to all their questions. 3:193-195, 7:56, 8:24, 32:15-16,