Biting while eating

Joy

My little one doesn't have teeth yet but she still bites down and yanks when feeding. It is so painful and makes me want to stop breastfeeding her. Advice on how to make this phase stop? Or when will this end? I really want to make it to a year of breastfeeding.