But Peter repented.
Yes, he did. But he still is NOT THE ROCK of Gods True Church. Only Jesus could fill that role.