Paul says, "For by grace you have been saved through faith; and that not of yourselves, it is the gift of God; not as a result of works, so that no one may boast." (Ephesians 2:8)
I am saved by grace not by works.
This statement is 100% correct, however, it is attempting to answer a question that is not being asked.
We aren't asking the question, "How does a person become saved?".
Instead, we are asking "How should a person live now that they are saved?"
This is usually something that comes up early in conversations where Christians misunderstand the role of God's Law in our lives.
Unfortunately, the primary and (often) sole focus of Christian churches today is salvation. In many cases they completely overlook the work of sanctification which is where God's Law is of great value in revealing how believers should live. We were reborn as new creations in Messiah for the purpose of doing good works:
For we are His workmanship, created in Christ Jesus for good works, which God prepared beforehand so that we would walk in them. (Ephesians 2:10)