James warns very strongly against becoming a friend of the world. We cannot love the things of this world and love God at the same time, they are in opposition to one another. Are our hearts given to this world instead of our loving Father?
“You adulterous people! Do you not know that friendship with the world is enmity with God? Therefore whoever wishes to be a friend of the world makes himself an enemy of God.” James 4:4