The following verse seems to set the context of deny Him as salvation rather than post salvation denial. Verse thirteen says that he cannot deny himself - He is within us, so how could he deny a believer?
Vs. 13 "If we believe not, [yet] he abideth faithful: he cannot deny himself."
He will be faithful to stand up for us even if we fail in the belief department - not saving belief, but in all other areas of belief.
Can’t this verse relate to one doubting salvation? Of course – they are not believing what they know in their mind.
A rather encouraging statement - if we fail in some respect to grasp the truths of Scripture it will not be held against us.
I think it should be emphasized that this is lacking belief, not knowing truth and rejecting it due to our selfish desires that override taking action on what has become a belief and realization of knowledge.