The Bible is very clear about that man cannot save himself. No one can reach God on his own merit or on their own goodness or righteousness. Salvation is a gift of God by His grace through faith. The context of Ezekiel 14 is that Israel had turned to idol worship and God was pronouncing judgment on them. They had become faithless, they did not trust and believe in the true and living God of Abraham, Isaac and Jacob but rather chose to worship man made gods.
“Even if these three men, Noah, Daniel, and Job, were in it, they would deliver only themselves by their righteousness,” says the Lord GOD. Eze 14:14
Even if these 3 OT heroes would earnestly pray as intercessor for the nation, even they could not stop the judgment of God against Israel.
The OT teaches that people were saved by faith which accounted to them as righteousness. Abraham was a man of faith who believed God and it was accounted to him as righteousness. The OT saints believed in the coming Messiah and the promises of God, they looked forward to the cross as we now look back at the finished work of Christ on the cross.
“And he believed in the LORD, and He accounted it to him for righteousness.” Gen 15:6
“For what does the Scripture say? “Abraham believed God, and it was accounted to him for righteousness.” Rom 4:3
“just as Abraham “believed God, and it was accounted to him for righteousness.” Gal 3:6
“And the Scripture was fulfilled which says, “Abraham believed God, and it was accounted to him for righteousness.” And he was called the friend of God.” James 2:23
Religions have always tried to reach God, Islam, Hinduism, Buddhist and other religions believe that they can appease God by their works of their righteousness. No one can appease God on his own righteousness. The Bible teaches that there is none that is righteous in the eyes of God.
“As it is written: “There is none righteous, no, not one;” Rom 3:10
Mankind is separated from God because of sin, and God has given mankind only one way of being reconciled to Him through His son Jesus Christ who died for the sin of the world. Jesus by shedding His blood on the cross has paid the price for sin and everybody who believes by faith in Him and Hid finished work is forgiven and God does not remember their sins anymore. It is the righteousness of Jesus that is imputed onto the believers and thus the believer is saved, not of works or achieving righteousness before God.
“For by grace you have been saved through faith, and that not of yourselves; it is the gift of God, not of works, lest anyone should boast.” Eph 2:8, 9
It is because of God’s grace that we are saved through faith in Jesus Christ. Grace is something we do not deserve, or earned, it is a gift of God because He loves us and He sent His Son to bring us into a right standing with Him.
“For God so loved the world that He gave His only begotten Son, that whoever believes in Him should not perish but have everlasting life.” John 3:16