Ezekiel 18:6
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,
Ezekiel 36:17
36:17 “Son of man, when the house of Israel was living on their own land, they defiled it by their behavior and their deeds. In my sight their behavior was like the uncleanness of a woman having her monthly period.