Exodus 34:4-8

4 Moses cut two stone tablets like the first ones. He got up early in the morning, and taking the two stone tablets in his hand, he climbed Mount Sinai, just as the Lord had commanded him.
5 The Lord came down in a cloud, stood with him there, and proclaimed [His] name Yahweh.
6 Then the Lord passed in front of him and proclaimed: Yahweh-Yahweh is a compassionate and gracious God, slow to anger and rich in faithful love and truth,a
7 maintaining faithful love to a thousand [generations], forgiving wrongdoing, rebellion, and sin. But He will not leave [the guilty] unpunished, bringing the consequences of the fathers' wrongdoing on the children and grandchildren to the third and fourth generation.
8 Moses immediately bowed down to the ground and worshiped.