Thoughts are vibrations. As you pray you create a request to the universe.
They say, "be careful of your thoughts" because they will manifest. It is helpful to be able to focus your mind. We can do this with meditation and prayer. Gently bring your thoughts back to what you wish to happen.