Are you confidant of your standing before God?
Are you sure that you are right with God?
There have been many who, having reached the end of their lives, thinking that they were right with God, have stood before the bar of God's justice only to find that they have been found wanting.
Paul, writing to the church in Corinth, says "Examine yourselves to see whether you are in the faith; test yourselves." (2 Cor 13:5)