Dude, do you know what my mistake in a relationship was?. I was so stuck to liking to one girl for years while believing that she might be the one for me and in the end, she rejected me. I was disappointed. I wasted high school and university years just to get one girl. I was a fool. Don't walk on the same path.
Plus it was good for you to know sooner anyway. Now you can get on with your life and go for another girl.