The beauty of the story of Abraham is that he started out with a heart for God, but his trust was not that great. Twice he put Sarah is jeopardy in order to save himself. Then he doubted the promise of Isaac. But the Lord shows His faithfulness in that He stuck with Abraham and worked with him, increasing his faith, making him a warrior, until finally he was willing to make the ultimate sacrifice. This is a story of hope and encouragement for all of us. God accepts us as we are as long as our heart is for Him, and will work with us to bring us to godliness and maturity.
And I am sure of this, that he who began a good work in you will bring it to completion at the day of Jesus Christ. -phil 1.6