There is a story in the Bible about Abraham. God chose Abraham to be the founder of several different nations, including Israel. But his wife could not bear children. God promised him a son; and when Abraham was old, he fulfilled that promise.
Isaac was the apple of his parent's eye and evidently, owned too much of their hearts. So, God commanded Abraham to offer Isaac as a burnt sacrifice as a test. And amazingly, Abraham acted in obedience. He took Isaac and was prepared to kill and burn him. At the moment when Abraham was ready to kill Isaac, God stopped him and provided a ram instead.
Many people consider this story a picture of what God intended to do through Jesus. While they were going to the place of sacrifice, Isaac asked about the fact that there was no lamb. Abraham said, "God will provide a sheep for the burnt offering."
And God does. God gives a substitute for Isaac, because Abraham was willing to trust God. And it is the same with each person. If we will trust God, he will send the Lamb of God (Jesus) to save us from death.