Why G-d praises Noah specifically right before the flood.