Lets give a hypothetical here. Say there are two people up for one job promotion. Both are devout Christians and both pray to God for the same thing namely so they get the new position. How does one gain favor in Gods eyes when praying?
There is no way to gain favor in the way that you are referring to.
G-d is not a vending machine of blessing, that if you pray the right way, do the prescribed steps, and if you do it facing Jerusalem at the specific time of the month, during the holy year, at point where the moon is full, and the wind is blowing towards the north at 5 mph or higher..........
Then G-d will have favor on you, and give you the job you want.
No.... G-d doesn't do that.
When you look at Kind David, he had sent Samuel to Jesse, and checked out all 7 of his sons, and all were rejected.
Do you think that all of them were less than David? It's impossible to know, and yet G-d's favor fell toward David. But we don't know that his favor didn't go to his other sons, do we?
There is no way to make G-d favor anyone over any other.
Perhaps there is a better place G-d wishes to move someone. Perhaps G-d knows giving someone a particular blessing will have a bad influence. Perhaps G-d knows the timing is not right.
And maybe even G-d wishes to test a person to see if they will still believe that G-d knows what is best, when something they want isn't given to them.
That's the worst one for me. But it is what it is.