It’s a composite work drawn from a tradition of various retellings. It’s a category error to try and make it internally non-self-contradictory or impose a coherent “this is the takeaway the author intended” on it. It contains multitudes. In these respects it will be v different to Nolan’s movie.
Stephen Nuñezeveryone seems to have absorbed a version of the story where everyone thinks Odysseus did something awful with the Trojan Horse and he was punished to roam as a result. That is not in the Odyssey. That is maybe derived from the Aeneid which was written many hundreds of years later by a Roman.