Ye adulteresses, know ye not that the friendship of the world is enmity with God? Whosoever therefore would be a friend of the world maketh himself an enemy of God.
Read all of James 4 ASV
Read James 4:4 in another translation