It is often said that when one door closes, another opens. Be careful not to look so long and so ruefully at the closed door, that you do not see the new one that is opening for you.
“Ask, and it will be given to you; seek, and you will find; knock, and it will be opened to you. For everyone who asks receives, and he who seeks finds, and to him who knocks it will be opened.” ~Jesus