Romans 3:27

27 aThen what becomes of our boasting? It is excluded. By what kind of law? By a law of works? No, but by the law of faith.

Romans 4:2

2For if Abraham was justified by works, he has something to boast about, but bnot before God.
Copyright information for ESV