The ancient Greeks placed a high value on hospitality. During his journey from Troy to Ithaca, Odysseus must rely on hospitality, and he is accorded it by every civilized person he meets. He would not have made it home without the help of others.
Josh headache comes because he realizes he will have to go through with the bet and cut his locks. Which is devastating for him because he calls them his wings.