He kept Yunus (as) alive in the belly of the whale, He saved Nuh (as) from a flood, He cooled the fire for Ibrahim (as), He parted the Red sea for Musa (as), He tested Ayub (as) with illness, He split the moon in half for Prophet Muhammad (saw). And many more.
Lesson from Surah Kahf: A rejection, a loss, a delay isn't always a deprivation, it is indeed Allah’s divine help to protect you, give you better and reward you. Alhamdulillah.