This was a necessary lesson to be learned by Peter. Left completely to ourselves, this is the inevitable outcome and Christ was completely clear in his teaching in Matt. 10:33 But whoever denies Me before men, I will also deny him before My Father who is in heaven....