“And Abram believed the Lord, and the Lord counted him as righteous because of his faith” (Genesis 15:6 NLT).

What did Abram do to be considered righteous? It was not “what” he did, but “Who” he believed. For it was by believing the Lord that he was “counted as righteous.” The apostle Paul wrote of this saying, “The words ‘it was credited to him’ were written not for him alone, but also for us, to whom God will credit righteousness—for us who believe in him who raised Jesus our Lord from the dead” (Rom. 4:23-24). When the crowds following Jesus asked, “‘What must we do to do the works God requires?’ Jesus answered, ‘The work of God is this: to believe in the one he has sent’” (John 6:28-29).
 
Neither the Old, nor the New Testaments, teach that righteousness comes through law-keeping. Righteousness is credited to those who have put their faith in Jesus. As the Scripture says, “Believe in the Lord Jesus and you will be saved” (Acts 16:31).