Odysseus's one flaw in "The Odyssey" is his incessant boasting. The Greeks were already well aware of his heroism and feats. There was no need for him to recount the stories of Troy. However, for example, after he blinded Polyphemus during his escape from the Cyclopes' island, he boasted loudly about his many deeds in the Trojan War.
Also, there is a contrast between Odysseus giving credit to the gods, and taking credit for himself. When things are going badly in front of his men, Odysseus conveniently places responsibility on the gods. On the other hand, when things are going favorably, he quickly boasts about the whole account and designates himself as the hero!
The quote is an analogy because she is comparing herself to a raft, floating in the dark, probably meaning that she feels like she is never getting anywhere and kept in the dark. The following sentence explains that she was alone and warned out, unable to find a home to stay in for a while, much like a wandering raft.