Ezekiel 18:5-6

18:5 “Suppose a man is righteous. He practices what is just and right, 18:6 does not eat pagan sacrifices on the mountains or pray to the idols of the house of Israel, does not defile his neighbor’s wife, does not have sexual relations with a woman during her period,