James 4:4 uses blunt language about friendship with the world: it is "enmity with God." The Greek word echthra — enmity — is not ambivalence or mild preference. It is active opposition. James is not describing a minor preference problem. The world-system he has in mind is the system of values that organizes life around visibility, approval, comparison, and status — the same currency social media trades in. This does not make the technology evil, but it does describe what happens to a soul that is organized around it.
Romans 12:2 gives the alternative: "be not conformed to this world: but be ye transformed by the renewing of your mind." The Greek word for "conformed" — suschematizesthe — means to be pressed into a mold from the outside. The world's format presses the person into its shape. The renewing of the mind is what resists the press. The Greek word for "renewing" — anakainosis — means a qualitative change, becoming new in kind, not just rearranging old content.
Commentary is from a charismatic Protestant perspective, drawing on KJV text and public-domain sources including Spurgeon, Andrew Murray, and Matthew Henry.