Odysseus and him men went into Polyphemus' home and demanded food and water. If the cyclops did not deliver, Odysseus threatened him with the power of the gods.
To that Polyphemus replied, "Stranger, you are a simple fool, or come from far off, when you tell me to avoid the wrath of the gods or fear them. The cyclopes do not concern themselves over Zeus of the Aegis, nor any of the rest of the blessed gods, since we are far better than they,"(Homer, 9.273-287).
As Polyphemus eats Odysseus' men, he come up with a plan to escape by stabbing the cyclops and escaping by tying themselves underneath his sheep.