As the article says, for some people it serves as a substitute for having kids/a family. Life is about more than your personal well being. Maybe you disagree; there are certainly a lot of moral frameworks under which that's not a true statement, and unless there's a higher power to appeal to nobody can tell you that your chosen philosophy is wrong. But all of us will someday grow old and die, and dogs aren't going be our legacy, nor will they be taking care of us in our old age. Just something to consider...
Regardless of dog ownership, it sounds a bit ego-centric to think that life is solely about leaving a legacy and assuming your kids are there solely to care for their parents in old age.
I agree. I'm certainly not suggesting those are the only reasons to have kids, just two that I felt might resonate well with the the previous poster given the materialistic thrust of his comment.