Handling rejection?

So this guy i really liked he is Asian and white very attractive the nicest eyes and nice i wanted to get to know him because i would definitely date him ans he is pretty popular at school, but he rejected me and said “you’re pretty but i don’t date black girls” it kinda offended me but i liked that he thought i was pretty but i just wanna know why he doesn’t prefer me it makes me feel bad :(
Handling rejection?
Post Opinion