Most today do not know what "works" meant back then.
Works meant doing prescribed deeds, as presented by religious men, as the means to win the approval of God.
That is why Jesus, who was being seen as a rabbi, often heard this question.
Now a certain ruler asked Him, saying, “Good Teacher, what shall I do to inherit eternal life?” Luke 18:18
The Jews had become conditioned by their corrupt religious leaders to seek works to be done to secure salvation.
Ephesians 2:8-9 tells us....
For by grace you have been saved through faith, and that not of yourselves;
it is the gift of God, not of works (plural=religious system), lest anyone should boast.
Note: It says "works." Plural.
Works was a religious system of things to do to win God's approval for salvation.
Ephesians 2:8-9 does not say?... Not any single work. But it says "works" (meaning the corrupt religious system).
In contrast to the corrupt system...
Jesus said that there is one work that God prescribes that will get us saved!
One work!
Here!
John 6:28-29
Then they asked him, “What must we do to do the works God requires?”
Jesus answered, “The work of God is this: to believe in the one he has sent.”
Just one sole work saves.
Not by works.
To simply believe in Jesus.
"For my yoke is easy and my burden is light.”
Just believe!
The jailer called for lights, rushed in and fell trembling before Paul and Silas.
He then brought them out and asked, “Sirs, what must I do to be saved?”
They replied,"Believe in the Lord Jesus, and you will be saved—you and your
household.” Acts 16:29-31
Note!
He asked what he must do!
It is something we must do.
........