The Bible has more than ONE VERSE. Taking the Biblical account as a whole, it's CLEAR the "Works" / "Works of the law" sre not salvific, but are the natural effect of BEING SAVED. Works contribute to the maturing process (Rom 8:28,29 - Jas 2:18). But only FAITH saves (Eph 2:8,9).
Simple as that.