We know that everything in the Law was written for those who are under its power. The Law says these things to stop anyone from making excuses and to let God show that the whole world is guilty.
What is the use of the Law? It was given later to show that we sin. But it was only supposed to last until the coming of that descendant who was given the promise. In fact, angels gave the Law to Moses, and he gave it to the people.
Every one of those people died. But they still had faith, even though they had not received what they had been promised. They were glad just to see these things from far away, and they agreed that they were only strangers and foreigners on this earth.
We must keep our eyes on Jesus, who leads us and makes our faith complete. He endured the shame of being nailed to a cross, because he knew that later on he would be glad he did. Now he is seated at the right side of God's throne!