Eternal life is a GIFT (
Rom 6:23), the Holy Spirit is a GIFT, salvation is a GIFT.
23 For the wages of sin is death, but the gift of God is eternal life in Christ Jesus our Lord.
Romans 6:23
Let's consider the context, of verse 23, in light of the previous scriptures.
16 Do you not know that to whom you present yourselves slaves to obey, you are that one's slaves whom you obey, whether of sin leading to death, or of obedience leading to righteousness?
17 But God be thanked that though you were slaves of sin, yet you obeyed from the heart that form of doctrine to which you were delivered.
18 And having been set free from sin, you became slaves of righteousness.
19 I speak in human terms because of the weakness of your flesh. For just as you presented your members as slaves of uncleanness, and of lawlessness leading to more lawlessness, so now present your members as slaves of righteousness for holiness.
20 For when you were slaves of sin, you were free in regard to righteousness.
21 What fruit did you have then in the things of which you are now ashamed? For the end of those things is death.
22 But now having been set free from sin, and having become slaves of God, you have your fruit to holiness, and the end, everlasting life.
23 For the wages of sin is death, but the gift of God is eternal life in Christ Jesus our Lord.
Romans 6:16-23
The gift from God is eternal life.
The way we receive this gift, is by faith.
Paul makes this clear, in the previous Chapter as he writes -
1 Therefore, having been justified by faith, we have peace with God through our Lord Jesus Christ,
2 through whom also
we have access by faith into this grace in which we stand, and rejoice in hope of the glory of God.
Romans 5:1-2
We are given the gift of eternal life, which is knowing God.
And
this is eternal life, that they may know You, the only true God, and Jesus Christ whom You have sent.
John 17:3
This picture is clearly painted for us, in the Garden, where the sinless righteous Adam, was also given the gift of eternal life by knowing God and walking with Him in the cool of the day, as well as access to the tree of life.
However, Adam choose to obey unrighteousness and disobey God.
Likewise Paul teaches us the same principle here in Romans 6, as he says -
Do you not know that to whom you present yourselves slaves to obey,
you are that one's slaves whom you obey, whether of sin leading to death, or of
obedience leading to righteousness?
Paul says these words to those who have been made righteous, by faith in Jesus Christ.
JLB