Actually, that advice makes some sense. :-)
Sin to spie Satan? Sensible only to Lucifer and his ilk.
The advice the Good Book gives is, “Flee from sins as from the face of a serpent; for if thou comest near them, they will take hold of thee.” (Ecclesiasticus 21:2)
And:
“Before man is life and death, good and evil; that which he shall choose shall be given him.” (Ecclesiasticus 15:18)
If you follow Luther’s advice:
“For the wages of sin is death; but the grace of God, life everlasting in Christ Jesus our Lord.” (Romans 6:23)
If you follow Our Lord:
“Be ye therefore perfect, as also your heavenly Father is perfect.” (Matthew 6:48)