In the time in which Odysseus lived it was considered a slight to the gods not to be hospitable to those who came to one's home. If they needed food, drink, lodging, or anything else, they were offered these things out of courtesty and obedience to the gods.