God wants us to remove anything in our lives that gets in the way of our relationship with Him. Anything.
The first two of the Ten Commandments make that pretty clear: “You shall have no other gods before me” and “You shall not make for yourself an idol” (Exodus 20:3-4).
God knows what’s best. Over and over he warns His people to flee from idols. Over and over His people ignore him.