Question: Where was the value of Abraham taking Isaac to the mount and going along with killing him if YHWH so requested?
It was a test of faith for Abe, so that Abe could see for himself that HE had the faith to do all that God said he would.
When going up to the mountain Abe told his servants that THEY would return, Abe knew that somehow God would provide that they BOTH would return alive.
God knew the outcome and knew that nothing would happen to Isaac.
For all we know God could have decided to allow Abe to kill Isaac and then raise Isaac from the dead with no meomory of what happened.
The story could have gone many possible ways.