John 4:4-6 (NLT): ‘You adulterers! [Adultery here, is used in the same sense as when used by Jesus – our relationship with God is like a marriage relationship. We commit adultery when unfaithful to our partner; likewise, God (James) calls us adulterers – when we are unfaithful to God]. Don’t you realize that friendship with the world makes you an enemy of God? I say it again: If you want to be a friend of the world, you make yourself an enemy of God. What do you think the Scriptures mean when they say that the spirit God has placed within us is filled with envy? [Alternative translations – ‘that God longs jealously for the human spirit he has placed within us?’ or ‘that the Holy Spirit, whom God has placed within us, opposes our envy?’] But he gives us even more grace to stand against such evil desires. As the Scriptures say, “God opposes the proud but favors the humble.” ‘
Selwyn makes the comment: ” … anyone who deliberately adopts a worldly attitude (for example – sex outside of marriage), and cultivates rather than curbs selfish desire, is an enemy of the Almighty. …
God never asks us to obey His commands without first supplying us with the strength we need to live up to them.”
God’s love does not stop Him from making judgments about our actions (or lack of action). He will cause the proud to stumble – and, that aspect of His nature should be considered by those who choose to live their lives in opposition to His will.