In Quran there is usually a close connection between being patiently persisting in doing right and expecting relief or deliverance from God (tawakkul).
"But give glad tidings to those who patiently persevere.