Deuteronomy 27:15

"Cursed is the one who makes a carved or molded image, an abomination to the LORD, the work of the hands of the craftsman, and sets it up in secret.' "And all the people shall answer and say, "Amen!'

Surrounding context

27:14 "And the Levites shall speak with a loud voice and say to all the men of Israel:

27:15 "Cursed is the one who makes a carved or molded image, an abomination to the LORD, the work of the hands of the craftsman, and sets it up in secret.' "And all the people shall answer and say, "Amen!'

27:16 "Cursed is the one who treats his father or his mother with contempt.' "And all the people shall say, "Amen!'

Translation and sources