not sure what to do

Me and my bf of 2 years just had a huge fight. From my perspective it seems like I'm always doing something wrong. not cleanin the house enough being one thing. I asked if I needed to pack my things. (we live together ) he got more mad and said I was threatening to walk out in him... I want him to be happy. But I feel like I mostly just make him mad.... Yet he doesn't want me to leave..... I dont know what to do. This is my very first long term relationship. He says 90% of the time I do make him happy.....I'm so conused/ hurt. Any advice?