How would you feel? I’m I wrong for thinking this ?

How would you feel if you're in school and you and your boyfriend is talking about good ways to study etc and then he said when he was in school he had to break up with his ex, then he said that I have to do what I have to do and what's best for me as if he's hinting I should do the same. I didn't like that remark at all because just because I have school doesn't I should throw him away it's not like we've been fighting or anything like that.