Destruction of Babylon and the First Library: Separate Events
This question conflates two separate historical events and civilizations:
- Destruction of Babylon: Conquered multiple times; most significantly by Persian King Cyrus the Great in 539 BCE. Also destroyed by Elamites and Assyrians.
- First Library: The famous Library of Alexandria (3rd century BCE, Egypt) is the most notable early library. Founder debated between Ptolemy I Soter or Ptolemy II Philadelphus.
No single person or event both destroyed Babylon and built the first library; these occurred in different locations and eras.