Read Luke 22 today.

This chapter includes many of the things that happened the day before Jesus was crucified. One was a conversation between Jesus and Peter about what was to happen later that night: Peter would deny Jesus.
Peter wanted to argue that he would never do such a thing, that betraying Jesus in this was was not possible. Jesus did not want to argue about the possibility. Instead, He merely stated what would happen and gave Peter instructions about what to do after he had repented. Jesus did not focus on the failure, but upon what happened after the failure.
We will all have failures during our journey with Christ. We will all mistakes that will grieve our hearts. We will all wonder if something we have done is so bad that we fear God will turn his back on us. The question is not whether or not such events will happen. The question is not even what God will do in response, for we already know of God’s grace. The question is whether or not we will repent, accept God’s forgiveness, and boldly seek to follow Christ in the days that follow.
Luke 22:31-32 NLT
“Simon, Simon, Satan has asked to sift each of you like wheat. [32] But I have pleaded in prayer for you, Simon, that your faith should not fail. So when you have repented and turned to me again, strengthen your brothers.”