Deuteronomy 5:10

10but showing steadfast love to a  thousands
Or  to the thousandth generation
of those who love me and keep my commandments.

Copyright information for ESV