Joshua- the sun stood still.
David- defeated numerous nations after seeking the Lord
Elijah- defeated the profits of Baal
Jesus- conquered death & gained the power to allow Himself to die for us
So, to sum up, don't believe the lie that prayer doesn't work, and when you feel distracted and self consumed, recognize it as an attack to get you to not be about the Lord's Work.