Deuteronomy 24:1

24:1 If a man marries a woman and she does not please him because he has found something offensive in her, then he may draw up a divorce document, give it to her, and evict her from his house.

Deuteronomy 27:15

27:15 ‘Cursed is the one who makes a carved or metal image – something abhorrent to the Lord, the work of the craftsman – and sets it up in a secret place.’ Then all the people will say, ‘Amen!’