Loving someone without needing to change them?

I have been learning and growing a lot in the past few days of working on the relationship prompts this month. However, I have a question. I understand that my spouse is there for me to love. However, what if they do things that affect me and the family? I am assuming we aren’t going to try to change them, but even when it comes to my cutie pie dog (who I love dearly), if she does things that are not acceptable such as try to bite others, I do things to try to mold her behavior. For our human loves, if they create situations that affect us negatively how do we approach that? Just do a bunch of thought models and let them be who they are?