Prayer is not mere uttering of some words. It is the performance of good deeds that will yield good results. Repeating the Lord's Name only at the time of prayer and forgetting Him after that does not amount to true prayer. It is like insulting Him. Those who do not have the unshakable faith that God resides within, cannot do prayer. If we keep praying for the purification of our heart, we will get progressively purified day by day.
Prayer is not only the means to ultimate Liberation, but also liberation in this world. When we are blessed with something bigger, we automatically get those which are smaller. Prayer is the great love that the soul has for the One which is a complete whole. That is the tool for the spiritual evolution of the soul. If we are determined to keep our hearts pure, God will not ignore our prayers. When a community prayer is held, a divine force flows from one to the other even without our knowing it, and this helps in the spiritual evolution of the soul. God does not listen to the prayers of those who are arrogant and those who indulge in prayer as a commercial quid pro quo.
There is nothing better than prayer to rid ourselves of bad traits and purify our hearts. Without prayer there will be no peace of mind. I have never lost my peace of mind even when I was assailed by any number of failures in my political life. There were many who had envied me for that. I was able to get that peace through prayer. For real prayer, there is no religious or caste distinction. Prayer seeks the good of the entire human race. If that happens, the kingdom of God will be on this earth.
Please check these: Excerpts from a discourse by our Sri Sri Muralidhara Swamiji
In the same way, God is sought for obtaining job, for marriage, for begetting a child, for education, for wealth and various other reasons. But, if we bring God Himself to our homes, we will get everything that we need.