Jesus commands us to not only pray, but also to never loose heart. We are always to be looking to Him as our strength and when we do that, we have no need to loose heart.

Luke 18:1