When we make a decision to accept Christ as Lord and Savior, our lives are changed. We become a new creation in Him. As a result, because of our faith in Christ, we look to follow Him and serve Him by doing good works. But it is not our good works that give us the gift of salvation. Those good works are things that God planned for us to do long before we came to faith in Christ. Our salvation is a gift from God, given to us through His amazing grace.
God has saved us through His grace and this salvation is not a reward for any good things we have done or will do. Because of this, we cannot take credit for our salvation, we can't boast or brag about it. Rather, we must give credit where credit is due. The credit for our salvation can be given only to the One whose love for us is so great that He desired to save us so that we could have eternal life with Him. The credit for our salvation belongs to God. (Ephesians 2:8-9)