To be honest, if we go back to the OP, he is asking for help in how to not let temptations become sin. Is this not correct? So what do you recommend? If we feel the temptation comes from inside us, we are already guilty. Lusting IS adultery.... not somewhat like it.
So is there a way to walk where temptation is never allowed to turn into outward disobedience? It would seem this is a critical truth we need to discover. Once we agree with satan when the thought comes to us to give in to the temptation, and embrace as truth that we really are not free indeed, never truly can be until we are dead, and that Jesus really never did deliver us from the power of darkness at all, at least in this life, it is but a hop, skip and a jump to going back to connecting temptation and sin by our actions.
We have been given armor. Let us wear it. We have been given a sword. Let us use it. We have been given a shield of faith that promises to quench ALL the fiery arrows of satan. Let us raise it, amen?
Blessings,
Gids