Translation
For as they were in those days before the flood, eating and drinking,
marrying and giving in marriage,
until that day
when Noah entered the ark,
Paraphrase
This is how things were in the days before the flood: people were going about their daily routines as if everything was normal, and they were making long-term plans and establishing long-term relationships as if everything would be normal for a long time; they refused to heed the warnings of THE COMFORT OF REST until the day he was no longer available to warn them;