Grace is God’s favor; we are saved by grace. Faith is a gift and a work by way of God’s grace. Our works are by way of God’s grace. We are saved by grace by the merits of Jesus Christ’s passion, death, and resurrection through faith and works.
Notice that all of this, including our ultimate salvation, is a gift. So far everything is from God to us and is completely unearned.
God does not initiate or cause us to sin. We choose to sin against God. We can choose to completely turn away from God and reject his gracious gifts which we may have previously accepted. God’s gift of human free will is left intact. God will not force us to love him, to know him, or to serve him. Like any gift or favor we can accept God’s grace or reject it at any point in time. This is how we can lose our salvation.
Romans 6:23 says:
“For the wages of sin is death, but the free gift of God is eternal life in Christ Jesus our Lord.”
So we see that the free gift of God is eternal life…this is what God does for us.
Furthermore, we see that the wages of sin is death…that is what we do to lose our salvation.
I hope this helps.