The Wisdom of Jesus the Son of Sirach, or Ecclesiasticus

Chapter 44
1Noah was found perfect and righteous. In the season of wrath, he kept the race alive. Therefore a remnant was left on the earth when the flood came.