There is not necessarily any moral, but it is more a set up for the telling of the tale. He tells the King why he has not returned home for more than 10 years. One could possible construe a moral from the fact that Odysseus falls prey to a great deal many temptations and it is his weakness that has kept him from home.