The Literal Commandment
The graven images of their gods you are to burn with fire; you shall not covet the silver or the gold that is on them, nor take it for yourselves, or you will be snared by it, for it is an abomination to the LORD your God. You shall not bring an abomination into your house, and like it come under the ban; you shall utterly detest it and you shall utterly abhor it, for it is something banned. (Deuteronomy 7:25-26)
The literal commandment is that we should not bring an abomination (an idol) into our house. Included in the literal meaning of "bringing something into your house" is a Hebrew idiom that means to make something your own: e.g. a man brings his new bride "into his house" when they are married. In this manner a person could "derive benefit" from making an idol his own possession.