And he gave other examples of faith without works, among them... thinking you are religious but not controlling your tongue, clinging to the law that says love your neighbor as yourself but breaking the law through showing partiality, blessing God and cursing men, boasting about your piety while having envy and self-seeking in your heart, and dishonoring the law by being judgmental of others.
None of these examples point to what a person does to gain salvation. They point to things that people do to prove as false what they say they believe. And they all stem from these verses:
21 Therefore lay aside all filthiness and overflow of wickedness, and receive with meekness the implanted word, which is able to save your souls. 22 But be doers of the word, and not hearers only, deceiving yourselves. 23 For if anyone is a hearer of the word and not a doer, he is like a man observing his natural face in a mirror; 24 for he observes himself, goes away, and immediately forgets what kind of man he was. 25 But he who looks into the perfect law of liberty and continues in it, and is not a forgetful hearer but a doer of the work, this one will be blessed in what he does. (Jas 1:21–25)
If a person "looks into the perfect law of liberty" and "continues in" the perfect law of liberty, he will be "blessed in what he does". And the follow-on is this advice to how to "continue in it":
12 So speak and so do as those who will be judged by the law of liberty. 13 For judgment is without mercy to the one who has shown no mercy. Mercy triumphs over judgment. (Jas 2:12–13)
The punchline is memerable... Mercy triumphs over judgment.
I prefer this list of necessary and sufficient conditions:
53 Then Jesus said to them, “Most assuredly, I say to you, unless you eat the flesh of the Son of Man and drink His blood, you have no life in you. 54 Whoever eats My flesh and drinks My blood has eternal life, and I will raise him up at the last day. 55 For My flesh is food indeed, and My blood is drink indeed. 56 He who eats My flesh and drinks My blood abides in Me, and I in him. 57 As the living Father sent Me, and I live because of the Father, so he who feeds on Me will live because of Me. 58 This is the bread which came down from heaven—not as your fathers ate the manna, and are dead. He who eats this bread will live forever.” (Jn 6:53–58)
Jesus is the manna which came down from heaven to give us life. Eating Him is both necessary and sufficient to gain eternal life.