What is the meaning of [food without hospitality is medicine]

It is hard to enjoy refreshments that are offered with ill grace, or without friendly companionship.