So would going to a gym. But it's easier to build a habit of taking care of something you love at home than doing a chore you have to drive/walk across town to do.
To the original poster - humans have been keeping pets since prehistoric times [0]. Behavioral patterns which have been ingrained into our genetic makeup & the collective subconscious for 10,000-40,000 years probably aren't going to change much in the next 100 or even 1000 years.
I fundamentally agree that we need to reduce our carbon footprint as a species, but feel we fundamentally disagree on the emotional and spiritual benefits of owning a pet. Regardless, I hope we can at least agree that it may be easier and more effective to start by looking at more modern, less ingrained, and higher-output sources of carbon.
[0] https://www.smithsonianmag.com/smithsonian-institution/ask-s...