Plenty of people are married with families and that doesn't prevent them from being lonely. Loneliness is not simply the absence of people around oneself. And I don't really think children are capable of providing adults with much comfort. That's supposed to be the job of the adults. As for partners hugging and comforting each other, well, I think you're idealizing marriage a bit.