How did you move on from a relationship where your ex didn't love you as much as you loved them?

I'm just now realizing I didn't mean much to my most recent ex and I was more than likely just a placeholder for someone else. In all my other relationships I felt way more secure in my exes' affections, but this last one I just knew deep down they didn't quite love me.