No the church (Church) did not write and compile the bible...The apostles, Luke, prophets and Patriarchs wrote and compiled the bible...And those people are not the church...
What's your definition of the Church???
The Catholic Church was started on Pentecost as described in Acts. The Apostles and writers of the Bible including Paul and Luke were Catholics and inspired by the Holy Spirit.The Bible was complied from Sacred Tradition passed down by Jesus and the Apostles and written by Catholic authors and the Holy Spirit. The books of the Bible were discussed and accepted after much discussion by the Bishops at the Councils of Hippo 393 and Carthage 397.
The Catholic Church is the Body of Christ composed of Baptized members on earth (Church Militant), those in Purgatory (Church Suffering) and those in Heaven (Church Triumphant.