When the youths fled for refuge to the cave and said: “our Lord! Give us mercy from Yourself, and provide for us a right way in our plight.” Surah Kahf [18:10]
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.