Not giving into lust, actually ended yosef up in prison! But little did he know that soon after, in the palace of the most powerful country in the world, G-d ordained that the ministers of the most powerful king in the world, would stumble in serving the king (with a pebble and fly), and those ministers and their mistake would become the biggest talk of the 'white house' and the 'Egyptian Times', and those same ministers would be led to Yosef's jail... All in order to bring ENORMOUS SUCCESS to yosef both spiritually and physically...(Which happens to be Rashi's pirush for a ben chumash l'mikra: a child should know that G-d will turn over the entire world, sometimes slower, sometimes longer, for a yid who stays connected) It's often painful to avoid a lust hit; avoiding it feels like we're entering a dark 'prison'... When in truth however, after the wave of passion subsides, one day and one moment at a time, the end result is the life we also can look at, with our own big handfuls of blessings, even in a land as depraved as egypt... And we can be the ba'al ha'bos over the land.. Not G-d forbid the opposite.