Everyone has a meaning of existence, and everyone lives with problems. We allow problems to exist and accumulate experience in solving them. Failure is also an experience and the only way to grow.
The reason for the failure, as you said yourself, is not that something has not been done, or that it has not been done and failed to achieve the ideal appearance. It is the right time, the right place and the ideal appearance. Everything is just right. How many things in life are just right? Everything is fine, don't you think?
There is no hope in life. We have been looking for disappointment and negative emotions in life, and we have been magnifying our shortcomings. How can we find direction, strength and hope?
We should enlarge our own advantages, give play to our own advantages and specialties, enlarge our own advantages, find our own positive strength, see our own goals, make clear our direction, and the future can be expected. I hope my answer can help you, and I wish you a happy life!