If Odysseus had given into these temptations it would have meant certain death and thus failing to return home.
Had Odysseus given in to these temptations, he would have faced certain death, ultimately preventing his journey back home.