God did not give Abraham a contract where if he faltered God would give up on him. God covenanted with Abraham. Abraham messed up many times. The worse times may be allowing his wife to be taken away from him twice and committing adultery. Yet when he slipped God stood firm. When you stumble God stands firm! Trust Him.