I understand the truism, but in some ways telling someone struggling with loneliness to just get married is like telling someone who is starving to just eat more.
There are a lot of people in the modern world who need exactly that, but are in hock to cinematic depictions of marriage and feel that evaluating their needs from the angle of pure survival is unnatural.