For if Abraham were justified by works, he hath whereof to glory; but not before God.
If Abraham was indeed justified by works, he had something to boast about, but not before God.
Read Romans 4