Sex as a reward

Recently i had a breakdown about my weight. I hit 175 and im 5'1 and 19, my boyfriend witnessed the breakdown and was beyond annoyed. He felt that if it bothered me so much i wouldve never gotten to the weight i am. Anyway, he then proceded to telling me that we will not have sex until Ive lost some weight. Which only made me cry even more, it made me feel as if sex had something to do with that. Idk i felt so ugly in that moment.