how did abraham get righteousness