I think experience of these things goes a long way into making your next relationship more successful. You learn what you are prepared to accept and what you re not, you learn to let things go and accept that you are 2 different people and should treat each other with respect.
I had a couple of long term relationships (one marriage) before i met my husband now and we are very happy. I think a lot of it comes with age as well.
Sometimes in relationships we accept things that we are not always happy with, but i think a little bit of give and take goes a long way.
When a relationship breaks down and it feels like the end of the world at the time, i always think there is something else out there, i don't know about the use of the word better, but different is probably more appropriate.
I am a great believer in things happening for a reason!!!! Be happy, you are after all only 23, have some fun!