Accept the flaws (differences?) of my husband

I am doing the “relationships” program to help me in a marital crisis. I really enjoyed the different steps and these exercises help me a lot. However, I realize that I am still struggling with some things. In particular: my lack of indulgence towards him, and what I would like to be different about him, what I would like to erase from his personality traits, or change… Especially some of his reactions that I find immature. I’m torn between “I can’t stay with such an immature man” and “he’s so mature in so many ways, and sometimes immature in others, I have to accept him as he is”. Could you help me? Thank you very much!