How do we know that salvation is through grace and not works?
Answered in 2 sources
Salvation is through grace by faith in Christ, as stressed in Ephesians 2:8-9, which states we are saved by grace, not by works.
The Scriptures make a clear distinction between salvation by grace and works. Ephesians 2:8-9 affirms, 'For by grace are ye saved through faith; and that not of yourselves: it is the gift of God: Not of works, lest any man should boast.' This indicates that our salvation is entirely an act of God's grace and not something we can earn or contribute to through our efforts. The law, instead of providing salvation, serves to show us our sinfulness and need for a Savior. By faith in Christ, we are justified and made heirs according to the promise of salvation. The theological understanding highlights that while works follow salvation as evidence of faith, they do not contribute to our justification before God.
Commentary