In The Odyssey, Odysseus learns to get rid of his pride. In spite of his intellect, Odysseus cannot get home. Near the end of his journey, his raft breaks a part and he cries out to the gods. He admits his weakness in trying to get home. He yells out to the gods. "What do you want form me?" Odysseus admits that he needs the help of the gods. Finally, he has learned what the gods wanted him to learn. The gods wanted Odysseus to realize his human weakness. They wanted him to realize that humans need the intervention of the gods in human affairs.
When Odysseus finally realizes this, the gods intervene and save him from drowning. Odysseus was stubborn. He was used to doing things on his own without help from the gods. He finally swallows his pride and cries out for help from the gods and the gods save his life.
It took ten long years for Odysseus to finally make it home. By this time, he has learned his lesson. He needs the help of the gods. He cannot get home on his own. He is indebted to the gods. The gods have mercy on Odysseus at the bidding of Athena who loves Odysseus and Athena helps him return home.