You just had a difference in values. You're ambitious. Your ex is not. Neither of you is right or wrong, you were just incompatible in a way that was, for you, a deal-breaker.
I have a very good girl friend who had a similar story to yours. She liked her ex, but she was ambitious and constantly working to improve her career, while he was waiting for a dream job to land in his lap while spending his evenings having a beer with his buddies and going every Sunday for cake and coffee with his wife (my friend).
She got divorced and they parted on pretty good terms. She eventually met a guy whose ambition matched hers and they are happily married. I don't know what happened to her ex-.