Exodus 20:6

6 and doing kindness to thousands, of those loving Me and keeping My commands.

Exodus 20:6 In-Context

4 `Thou dost not make to thyself a graven image, or any likeness which [is] in the heavens above, or which [is] in the earth beneath, or which [is] in the waters under the earth.
5 Thou dost not bow thyself to them, nor serve them: for I, Jehovah thy God, [am] a zealous God, charging iniquity of fathers on sons, on the third [generation], and on the fourth, of those hating Me,
6 and doing kindness to thousands, of those loving Me and keeping My commands.
7 `Thou dost not take up the name of Jehovah thy God for a vain thing, for Jehovah acquitteth not him who taketh up His name for a vain thing.
8 `Remember the Sabbath-day to sanctify it;
Young's Literal Translation is in the public domain.