Salvation is by grace alone. Free will allows us to reject grace. Faith is a gift of grace. And faith without works is dead.
"If you love me, keep my commandments." --JesusGod's Salvation: Law and Grace, CCC"You will know them by their fruits." --Jesus
"What does it profit, my brethren, if someone says he has faith but does not have works? Can faith save him? If a brother or sister is naked and destitute of daily food, and one of you says to them, Depart in peace, be warmed and filled, but you do not give them the things which are needed for the body, what does it profit? Thus also faith by itself, if it does not have works, is dead." -James 2
As a practicing catholic you wrote, “Salvation is by grace alone.” If I didn’t know you are a catholic I might have taken that to mean you do not believe a catholic must strive to obtain that Grace. But since we know you are a practicing catholic, we understand whast you tried to hide, that yes, catholics are taught they must earn Grace by their works. Have a nice eternity.
What did Abraham do to be saved?
Only if you have faith without any works of any kind...
Eph 2:8 For by grace are ye saved through faith; and that not of yourselves: it is the gift of God:
Eph 2:9 Not of works, lest any man should boast.