Do you have regrets for any of your actions during a relationship? If you haven’t benefited from your time together then that’s not where you should be. Being with a person shouldn’t be terribly hard. No one is perfect, but the desire to make a person happy should always be there.
The best way to overcome is to over achieve. What holds us back is our lack. Don’t have a lack of motivation. Don’t have a lack of supportive people in your life. Don’t let your happiness be determined by others. The beginning and the end supports you daily and will eternally.

The time spent trying to please someone who did not appreciate you only made you stronger and better. Unknowingly, you were bettering yourself and now can benefit from the new YOU! You overcame because you over achieved!