Jn. 3:16 “For God so loved the world that he gave his only Son, that whoever believes in him should not perish but have eternal life.”
That’s called faith… Works not mentioned here… Works are not for salvation, but a result of our faith.
Jn. 3: 36 “He who believes in the Son has eternal life; he who does not obey the Son shall not see life, but the wrath of God rests upon him.”
That is called faith too… Works not mentioned here either… Works are not for salvation, but a result of our faith. They are the good fruits of the good tree…
Mt. 19:16 "And behold, one came up to him, saying, “Teacher, what good deed must I do, to have eternal life?” 17 And he said to him, “Why do you ask me about what is good? One there is who is good. If you would enter life, keep [all of the, all of the time] the commandments.”
In Matthew 19:16-17, Jesus was speaking to a Lawyer who was self-righteous since he wanted to put Jesus to the test (Luke 10:25). He asked what he must do in order to obtain eternal life and Jesus responded with the requirements of keeping the commandments. If a person keeps all of the commandments, it would seem that they could obtain eternal life. However, nobody can keep all of the commandments. Therefore, Jesus’ comments to this man show this man that justification can only be by faith since no one can keep all of the commandments. This is why it says in Eph. 2:8 that we are saved by grace through faith. Also, Romans 3:20,28 and Galatians 2:16 tells us that no one is justified in the sight of God by the law; that is, by the works that he can do.
There is no contradiction at all when we examine the contexts. We are justified by faith but that faith must be alive (James 2). The Law cannot save us because we are incapable of keeping it (Matthew 19:16-17). Therefore, salvation is by grace through faith.
Heb. 6: 10 “For God is not so unjust as to overlook your work and the love which you showed for his sake in serving the saints, as you still do.”
What about reading the verse right before the one you quoted?
“9 But, beloved, we are persuaded better things of you, and things that accompany salvation, though we thus speak.
10 For God is not unrighteous to forget your work and labour of love, which ye have shewed toward his name, in that ye have ministered to the saints, and do minister.”
It explains itself…
2 Tim. 3:16 “All scripture is inspired by God and profitable for teaching, for reproof, for correction, and for training in righteousness, that the man of God may be complete, equipped for every good work.”
Of course we are to do good… I never doubted that. I just said that we cannot save ourselves with good works. We cannot bribe God into anything. Salvation is a gift and as a gift it is absolutely free. Works are the fruit of our faith.
Mt. 7:21"Not every one who says to me, ‘Lord, Lord,’ shall enter the kingdom of heaven, but he who does the will of my Father who is in heaven. 22* On that day many will say to me, ‘Lord, Lord, did we not prophesy in your name, and cast out demons in your name, and do many mighty works in your name?’ 23 And then will I declare to them, ‘I never knew you; depart from me, you evildoers.’
“15Beware of false prophets, which come to you in sheep’s clothing, but inwardly they are ravening wolves.
16Ye shall know them by their fruits. Do men gather grapes of thorns, or figs of thistles?
17Even so every good tree bringeth forth good fruit; but a corrupt tree bringeth forth evil fruit.
18A good tree cannot bring forth evil fruit, neither can a corrupt tree bring forth good fruit.
19Every tree that bringeth not forth good fruit is hewn down, and cast into the fire.
20Wherefore by their fruits ye shall know them.
21Not every one that saith unto me, Lord, Lord, shall enter into the kingdom of heaven; but he that doeth the will of my Father which is in heaven.
22Many will say to me in that day, Lord, Lord, have we not prophesied in thy name? and in thy name have cast out devils? and in thy name done many wonderful works?
23And then will I profess unto them, I never knew you: depart from me, ye that work iniquity.”
If we are saved we bring forth good fruit and if we are not we won’t. Lip-service does not change that.