He has made everything beautiful in its time. He has also set eternity in the human heart; yet no one can fathom what God has done from beginning to end - Ecclesiastes 3:11
There are things that happen and then, there are things that happen but we wish never happened. We wish these particular incidents never happened at all because we feel it has damaged something in us; it could be our innocence, our dream, our hope, etc. But the fact is, they have already happened and no matter how much we would like to take things back that is not an option. What we can do is to not let these things take hold of us that we end up yearning for a beautiful past while living a wretched present.
No matter how we view an event in our life remember that God is ALWAYS in control. God can turn an ugly event into something beautiful by giving it a purpose in your life. He may not necessarily reveal what the purpose is but if you just let all the negativity flow and offer it up to Him, He will use it for your betterment.
The thing is we tend to see life in terms of milestones and we often feel that if we have not attained a particular milestone, we are a failure. God is much, much, much (MUCH) wiser than us. He knows that we can only truly enjoy a particular achievement/milestone/season if we have the right attitude for it just like a lover's declaration can only be enjoyed if you think you are indeed lovable, a baby's presence can only be enjoyed if you can see beyond the stress of taking care of them 24/7 or a wad of money can only be enjoyed if you are mature enough to know what amount goes where.
Do you have something you yearn so long for? Don't lose hope. At some point, you may get frustrated to the point of broken-heartedness. When these times come, pray and believe God has made everything beautiful in its own time. And rest assured, He will surely make this one, this particular thing you are yearning for, beautiful in its own time as well. :)