Deuteronomy 13:17-18

13:17 You must not take for yourself anything that has been placed under judgment. Then the Lord will relent from his intense anger, show you compassion, have mercy on you, and multiply you as he promised your ancestors. 13:18 Thus you must obey the Lord your God, keeping all his commandments that I am giving you today and doing what is right before him.