Is it ok to be mad at my boyfriend for saying he would break up with me for his mom?

Me and my boyfriend were talking and the subject of how much he loves his mom came up he proceeds to say he loves her and would never hurt her and outright Blantly states “I would even literally break up with you for her bc I love her so much “ he was high but I remember when people are high or drunk they a lot of times mean what they say but he’s also called me harsh names out of anger on the past so I felt like he Meant it due to past sayings and then he tells me he was just joking which is his excuse for everything he says to me
Is it ok to be mad at my boyfriend for saying he would break up with me for his mom?
Post Opinion