"And He (Jesus) spoke a parable unto them to this end, that men ought always to pray, and not to faint;" Luke 18:1
This word faint is from the Greek word ekkakeo, which means to be weak or faint in heart and weary in the soul. We ought not be weak in heart and weary in our soul, but sometimes we are. Jesus gives us the cure, to pray and that continually. It's true. Even in the worst of times, when all is not well, if you seek God's provision for your soul through prayer, you will receive an uplifting.
Jesus knows that all battles are fought on the spiritual battle ground as well as the physical. As you do what you know to do with the wisdom you have you move the physical realm, but to be in alignment with the will of God for your life the spiritual realm must be moving at the same rate. The spiritual realm in your life requires prayer. Prayer is the condition required by God for God to incorporate all the necessary spiritual components for you. It's not that God doesn't do anything without you praying for it, but there is no way you can know the will of God or make the right decisions unless you are communicating and hearing from God. This is best done through reading the Bible as you pray for each situation. You will receive answers for your mind. There will be action taken in the heavens on your behalf and you will get understanding in your heart. That's why men ought always to pray.