This quote means that when a boy hates you, it is better than when a boy loves you. This is because when a boy loves you, the situation can be more complicated. It can complicate your life, either by causing you to grow feelings for him in return or because it can hurt you more when he eventually stops loving you. Therefore, it is better to have a boy that hates you instead of a boy that loves you.