You are to be in the world, but not, of the world. That's the key.
How are you to know that God particularly finds what was in this episode wrong and sinful?