…why do you suppose Enoch was so conscious of the ungodliness of his generation and so strong in preaching against it? It was because he walked with God. And what do you suppose was the result of his walking with God? Obviously a growth in holiness as a result of which he perceived the true nature of ungodliness. The two always go together. If you walk with God, you will be opposed to sin. But if you do not walk with God, sin will not seem to be so bad to you and you will inevitably accommodate yourself to it.
James Montgomery Boice, Genesis: An Expositional Commentary (Grand Rapids, MI: Baker Books, 1998), 288.