he broke up with me

my bf (now ex) just broke up with me because he wanted to focus on basketball. he just realized he doesn’t want a relationship. But he’s dated 3 girls before me. i thought he wouldn’t do this to me but he did i don’t even know what to do because i still want him but that was a shitty way of telling me.