The promise was made to Abraham not upon the basis of any attempted obedience to the law on his part but because of that faith which he exercised, which faith was of such a nature as to cause God to put righteousness down to his account. (Wuest's Word Studies from the Greek New Testament: Grand Rapids: Eerdmans)