When you read the New Testament, you don’t read anything about Abram’s failure. You only find it in the Old Testament. God didn’t remember his sin. God remembered his faith. If you’ve gotten away from God, do what Abram did - come out of Egypt. Give it all back to the Lord and walk by faith.