If Abraham was made right by the things he did, he had a reason to boast about himself. But God knew different.