Those words (“God accepted Abraham’s faith”) were written not only for Abraham
Everything that was written in the past was written to teach us. The Scriptures give us patience and encouragement so that we can have hope.
The things that happened to those people are examples. They were written down to teach us, because we live in a time when all these things of the past have reached their goal.
And these things happened as examples for us, to stop us from wanting evil things as those people did.