The Bible says, "When God closes this door, he will open another door for you."
This is a philosophy of dealing with people, and we should treat this sentence dialectically (not the word of God in the Bible, but Helen Keller's, I think).
A person's gains and losses are conservative. What you lose in one place, you will get back in another place. Just as God closes a door for you, he will definitely open a window for you.
Life will not be smooth sailing, there will be many bumps. We should keep a peaceful attitude towards this. "There is no doubt about mountains and rivers, and there is another village." We should face it with a positive attitude and go all out to solve it. As long as you don't give up, there is hope to get out of the haze.
When God closes a door for you, he will open a window for you. In fact, it is telling us that instead of wandering in front of the closed door, it is better to look for your own sky outside the open window!