"Jesus answered him, Wilt thou lay down thy life for my sake? Verily, verily, I say unto thee, The cock shall not crow, till thou hast denied me thrice. Let not your heart be troubled: ye believe in God, believe also in me." (John 13:38; 14:1)
In most Bibles, chapters as well as verses divide up the Gospel and other Biblical records.
Yet those are ultimately artificial, and can give us a misunderstanding.
Jesus was speaking to Peter in John 13:38.
Then in John 14:1, we see Jesus is still speaking to Peter and to the rest of the disciples.
Notice that Jesus is telling Peter, the rough-necked fisherman, that even though he will betray him, his heart should not be troubled.
Even when you and I fail, Jesus still loves us.
He cares for us, even when we mess up. He stands with us even when we fall from Him, depending on our own strength.
Remeber how Jesus reached out and helped Peter, when he was about to sink into the water?
"But when he saw the wind boisterous, he was afraid; and beginning to sink, he cried, saying, Lord, save me. 31And immediately Jesus stretched forth his hand, and caught him, and said unto him, O thou of little faith, wherefore didst thou doubt?" (Matthew 14: 30-31)
In the above account, once again we see Peter not keeping his eyes fixed on Jesus His Savior.
But Jesus didn't let him drown! He reached out and helped him.
Let not your heart be troubled, beloved child of God! Even if you fail, He is still ready to stand by and help you. When you fall into the pit, He will help pull you out!