That notwithstanding, I'm unaware of any passages alluding to an near-exinction event prior to then. In fact, the 7 plagues described in Revelation of John make no implication; nor can such inference be made.
Truly the latter half of the Tribulation will be dreary, but not even the 7th plague describes what is being purported. Come on, an earthquake felt round the world, and hailstones of dinner plate-diameter, that's some radical carnage.
However, that notwithstanding, the threat of extinction to ALL life on this planet - the inference by extension risk of human extinction - won't occur until after the Millenial Kingdom, i.e., Battle in the Plains of Meggido.
I'm takin' the Lord at His Word when He stated He'd never again deliver another "flood" type punishment.