You fall to rise. You either win or learn, there's no failure in life.
It's not your mistake, you did everything with all your heart. You cared and loved the person truly and he left you, so who's actual loss was that? His, not yours.
Stay strong and just wait for the right time to come. Don't let your past affect your present or it will ruin your future. I know you have been through hell but all that was to make you strong. Strong enough to know what's right for you, strong enough to move on. And there's surely someone waiting for you to fill your life with all the happiness you deserve.
#finlaysky