Jesus told the disciples that all would forsake Him when he was arrested but Peter said he would never forsake Him. Jesus then told Peter directly that in fact he would deny Him three times. Peter denied it again saying he would be willing to die (Matthew 26:31-35).
But when the time came Peter denied knowing Jesus just as Jesus had said. You could say he failed miserably but given the circumstances it may not be that surprising. Our concern is how does Jesus treat Peter? What do these verses suggest as an example for us to follow?
Luke 22:61, 1 Corinthians 15:5, John 21:15-19.