Exodus 20:5-6 NAS

5 "1You shall not worship them or serve them; for I, the LORD your God, am a 2jealous God, 3visiting the iniquity of the fathers on the children, on the third and the fourth generations of those who hate Me,
6 but showing lovingkindness to 4thousands, to those who love Me and keep My commandments.

References for Exodus 20:6