Relationship

I’m a freshman in high school and there is this guy I’ve been best friends with forever, he is now a junior but the thing is he is 18. I fell in love with him and we flirted all the time he said he loved me back and would wait the 3 years but he changed his mind after 2 months of us being open about our feelings. I feel guilty for being hurt but I know where he’s coming from am I a bad person for being so hurt about it?