There is no discrepancy between the Old and New Testaments. We are declared righteous by faith, just like Abraham was.