God learned something new about Abraham that He did not know before, proving God does not design the thoughts of people so they will do what He wants them to do and think what He wants them to think, and believe what He wants them to believe.
Genesis 22:12
And he said, Lay not thine hand upon...