Genesis 22:9-18

NIV
New International Version

9When they reached the place God had told him about, Abraham built an altar there and arranged the wood on it. He bound his son Isaac and laid him on the altar, on top of the wood. 10Then he reached out his hand and took the knife to slay his son. 11But the angel of the Lord called out to him from heaven, “Abraham! Abraham!”
“Here I am,” he replied.
12“Do not lay a hand on the boy,” he said. “Do not do anything to him. Now I know that you fear God, because you have not withheld from me your son, your only son.”
13Abraham looked up and there in a thicket he saw a ram#13 Many manuscripts of the Masoretic Text, Samaritan Pentateuch, Septuagint and Syriac; most manuscripts of the Masoretic Text a ram behind him caught by its horns. He went over and took the ram and sacrificed it as a burnt offering instead of his son. 14So Abraham called that place The Lord Will Provide. And to this day it is said, “On the mountain of the Lord it will be provided.”
15The angel of the Lord called to Abraham from heaven a second time 16and said, “I swear by myself, declares the Lord, that because you have done this and have not withheld your son, your only son, 17I will surely bless you and make your descendants as numerous as the stars in the sky and as the sand on the seashore. Your descendants will take possession of the cities of their enemies, 18and through your offspring#18 Or seed all nations on earth will be blessed,#18 Or and all nations on earth will use the name of your offspring in blessings (see 48:20) because you have obeyed me.”