Ugh what have I done

So I went on a rant about my bf to my mom and now she says I should leave him.

My bf and I have been together for 6 years, we have a child together and o have a child from a previous relationship. We live together and honestly I have no desire to leave him. I was ranting to my mom about how he’s recently started talking down to me and become a bit controlling, and how I found out he lied about losing a job last year when i was pregnant. Ugh I should have known better than to complain about my bf to my own mom.