1 Pet 4:17
For the time is come that judgment must begin at the house of God: and if it first begin at us, what shall the end be of them that obey not the gospel of God?
2 Thess 1:8
In flaming fire taking vengeance on them that know not God, and that obey not the gospel of our Lord Jesus Christ:
Rom 2:8
But unto them that are contentious, and do not obey the truth, but obey unrighteousness, indignation and wrath,
Rom 6:16
Know ye not, that to whom ye yield yourselves servants to obey, his servants ye are to whom ye obey; whether of sin unto death, or of obedience unto righteousness?
Rom 10:3
For they being ignorant of God's righteousness, and going about to establish their own righteousness, have not submitted themselves unto the righteousness of God.
Matt 7:21
Not 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.
Lk 6:46
And why call ye me, Lord, Lord, and do not the things which I say?
Acts 2:38
Then Peter said unto them, Repent, and be baptized every one of you in the name of Jesus Christ for the remission of sins, and ye shall receive the gift of the Holy Ghost.
The NT makes it clear that obedience to the Lord's will is what separates the lost (disobedient/unrighteous) from the saved (obedient/righteous).
Jer 11:3-4
And say thou unto them, Thus saith the LORD God of Israel; Cursed be the man that obeyeth not the words of this covenant,
Which I commanded your fathers in the day that I brought them forth out of the land of Egypt, from the iron furnace, saying, Obey my voice, and do them, according to all which I command you: so shall ye be my people, and I will be your God:
Also under the OT it was obedience to God that separated those that were God's people and those not of God.
======================================
Heb 5:9
And being made perfect, he became the author of eternal salvation unto all them that obey him;
Christ is the Author of salvation NOT to those that do works of merit, NOT to those that have faith only, NOT to those who repeat a sinner's prayer, NOT to those who do good works but to those who "obey Him".