At first cor. 3:9-11 and 10:4 the apostle Paul says Jesus is the rock or foundation the church is built on. Throughout the Gospels Jesus repeatedly says that none of the apostles is greater than the other.
In Matthew 16 Jesus asked Peter a few versus before the ones everyone is quoting who the people were saying he, Jesus, was? Then Jesus asked the apostles who do you say I am? Peter answered "you are the Christ, the son of the living God". The conversation was based around Christ who he was, not Peter. Jesus was talking about himself being the foundation.