No, many countries do it right. But the meme implies this. Top picture is commie blocks, bottom picture is what you see in some western countries that do not get their social policies right. And the whole statement is a straw man as homelessness is not related to capitalism alone. This is typical propaganda.