"Who will take care of you in your old age?"

So someone asked me this a couple of days ago upon finding out that I did not intend to have children.

Is the purpose of having kids to raise an in-house carer or something?