Peter started as a sinner, then started to walk with Jesus, then started to get a little over-certain of his own followership, THEN got out ahead of Jesus in the Garden of Gethsemane and folks were getting hurt.
Good news, Jesus has already factored our human errors into His plans.