A Test of Faith
Why did the Holy Spirit include the test of Abraham's faith? I believe it is about our own faith and whether or not anything stands between us and our Father.
But there may be something else. Abraham's offering of Isaac serves as foreshadowing of God's sacrifice of His own Son for our sins.
God could not save His Son and save us at the same time.