Matthew 16:16-18, "Simon Peter replied, 'You are the Christ, the Son of the living God.' And Jesus answered him, 'Blessed are you, Simon Bar-Jona! For flesh and blood has not revealed this to you, but my Father who is in heaven. And I tell you, you are Peter, and on this rock I will build my church, and the powers of death shall not prevail against it.'"God gave you a church?
Verse 18 in Greek, "κἀγὼ δέ σοι λέγω ὅτι σὺ εἶ Πέτρος καὶ ἐπὶ ταύτῃ τῇ πέτρᾳ οἰκοδομήσω μου τὴν ἐκκλησίαν καὶ πύλαι ᾅδου οὐ κατισχύσουσιν αὐτῆς"
ἐκκλησίαν is defined as an assembly or religious congregation. It's usage: an assembly, congregation, church; the Church, the whole body of Christian believers.