Ezekiel 20:1 reveals that while the Jews were in their captivity, the elders came to seek answers from God. What were their questions? They can be ascertained only by God's reply. Overall, the questions seem to have been something similar to, "Why are we having all this trouble?" "What is the problem?" "When can we expect to return to Jerusalem?"
God's answer begins to take shape in verse 7, "Each of you, throw away the abominations which are before his eyes." The last phrase literally means "the delight of the eyes." "His eyes" must refer to the typical Israelite's eyes. Recall that the Israelites did what seemed right or pleasurable to them but not necessarily what was delightful to God. Since God commanded them to throw away what was a delight to them, we must understand, then, that "the delight of their eyes" was to God idolatry and rebellion.
That brief phrase contains two contrasting perspectives. It identifies what God had against them: their idolatry. The delight of their eyes was the idol that they looked at and gave their devotion to.
John W. Ritenbaugh
The Fourth Commandment