Peter was not the Rock. Christ was. “On Christ, the solid Rock I stand.”
Peter and his successors were given the keys to the Kingdom of Heaven.