Bf called me ugly when he was mad

He called me an “ugly bitch” in 2017.... it still sticks with me after all these years. He said he was angry and that he didn’t mean it. But I still believe it and it hurts. Hes always calling me beautiful now and giving me gifts but it doesn’t change what he called me years ago. I wish I could just let go