That does not negate the security of the believer.
God determines who is a regenerated genuine believer and who is not. Sometimes humans have a real problem discerning this, and especially about themselves if they are not.