Most Helpful Guy
It sounds like your Boyfriend was hurt and was trying to hurt you back by saying that.
There IS a type of girl that a lot of guys think are only good for a "pump and dump", but it has nothing to do with their looks. It has to do with their self-worth. Girls who don't value themselves don't demand that men value them either. Often they are attention whores or even sluts, because they are desperate for attention and validation and are willing to do just about anything to get it, even if they don't want to or really like the guy. When guys see girls like that, they don't value them for any more than sex either.
I have no idea if that describes you or not, but even assuming it does, it's something you can fix. Simply learn to say "no." Don't give a guy what he wants unless he is treating you right, respecting you, and values you. And make them wait a little while and prove that they do before you give them sex. Know that the a-holes and players are going to give up and move on, and you have to LET THEM GO, because they don't deserve you. The ones that stay and wait, respectuflly, are the ones you're looking for.
Don't give your Boyfriend this power over you. People only have the power over you that YOU give them.