Sura Al-Kahf

18:16

وَإِذِ ٱعْتَزَلْتُمُوهُمْ وَمَا يَعْبُدُونَ إِلَّا ٱللَّهَ فَأْوُۥٓا۟ إِلَى ٱلْكَهْفِ يَنشُرْ لَكُمْ رَبُّكُم مِّن رَّحْمَتِهِۦ وَيُهَيِّئْ لَكُم مِّنْ أَمْرِكُم مِّرْفَقًۭا

[Och sinsemellan sade de:] "Sedan vi [nu] har dragit oss undan dem och allt vad de dyrkar i Guds ställe, låt oss fly till grottan! Gud skall förbarma Sig över oss och ge oss vad vi behöver och hjälpa oss att bestå [provet]."

Tafsir 18:16

Now that you have moved away from your people, and have left what they worship instead of Allah, and you have worshipped Allah alone, then take refuge in the cave fleeing to protect your religion. Allah, may He be glorified, will shower His mercy on you to protect you from your enemies, and will make for you an easy means of livelihood that you could benefit from in place of the life that you had when living amongst your people.