Allaah, the Sublime and Exalted, said:
وَمَن يَتَّقِ اللَّهَ يَجْعَل لَّهُ مَخْرَجًا وَيَرْزُقْهُ مِنْ حَيْثُ لَا يَحْتَسِبُ
And whoever has taqwa of Allaah, He will provide for Him a way out (of difficulty) and will provide him through (ways and means) he could not imagine (al-Talaq 65:2-3)
Note: Ibn Katheer: Whoever had taqwa of Allaah in what He commanded and abandoned what He prohibited, He will make for him a way out (of his difficulty) and will provide him through a direction that he had never thought of. Al-Baghawi: Abu al-Aaliyah said, "A way out of every severity" and al-Rabee' bin al-Khaytham said, "From everything that (causes) hardship upon people."
Translated by Abu Iyaad (@abuiyaadsp)