There are a number of preposition words that change the meaning of a phrase when used with a particular word. For example, you can use Pray with different prepositions, and you will get a different meaning every time. You can see the examples below:
1. Pray for
Pray for (thing)
Example: My wife prayed for my success.
2. Pray to
Pray to (make prayer)
Example: I prayed to god to help me.