Despite all his sin, Abraham died right with God. Not through anything he had done, for nothing he did could make him right with God, but through faith in the one who was to come, the Messiah who would come from his bloodline. For Abaraham “believed the LORD, and he credited it to him as righteousness.” (Gen 15:6) Are we right with God, have we had our sin dealt with?
Abraham’s life had ended with him “full of years”, having had a ripe, fruitful life serving God. If we put our life in God’s hands, trusting his Son, then his Spirit will dwell in us, and our lives also will be fruitful. The Spirit will work in us, changing us, sanctifying us.
For ultimately, Abraham was received into the presence of God, not as a sinner, but a sanctified, purified glorified child of God. If we are not justified before God and if we are not sanctified by God, we cannot be received by God into his presence as his children.