Compare Matthew 28:7, 10; Mark 16:7; Luke 22:39; John 16:32; 18:1; 21:15-17
One of the signs of the truthfulness of the gospel accounts is their forthright portrayal of what is usually regarded as the very human weakness of Peter, despite his subsequent reputation as the “Rock” and a “pillar” of the church.
There’s no attempt to whitewash or glorify him.