Like sacrifices, prayer is intended to change man, not God. Its purpose is to cultivate a contrite heart, to promote feelings of humility and inadequacy in man, whilst encouraging reliance on Divine assistance.
"The Authorised Daily Prayer Book" by Immanuel Jakobovits, Centenary Edition, (p. xvi), 1990.