Hello well in history the Bible was put together by scholars that looked for divine imprint on whether a book can be called Holy and of God. This is how we came to have the modern Bible today. The best way to express this is by the council of Nicaea in 325 C.E.