Good works are not a prerequisite of salvation, they are a result of it…
Ezekiel 36: 26-27
26 I will give you a new heart and put a new spirit in you; I will remove from you your heart of stone and give you a heart of flesh.27 And I will put my Spirit in you and move you to follow my decrees and be careful to keep my laws.
Philippians 1:6
being confident of this, that he who began a good work in you will carry it on to completion until the day of Christ Jesus.
John 15: 5
I am the vine; you are the branches. Whoever abides in me and I in him, he it is that bears much fruit, for apart from me you can do nothing.
Ephesians 1: 13-14
In him you also, when you heard the word of truth, the gospel of your salvation, and believed in him, were sealed with the promised Holy Spirit,14 who is the guarantee of our inheritance until we acquire possession of it, to the praise of his glory.