Genesis says the floodwaters prevailed on the earth for 150 days.
Genesis 7:24 states that the waters prevailed for 150 days. This figure is distinct from the 40 days and 40 nights of rain described earlier in the narrative. The forty-day period concerns the rainfall, while the 150-day statement describes the longer period during which the waters remained dominant.
The chronology continues with the Ark resting on the mountains of Ararat in the seventh month. Genesis then describes the waters decreasing and the ground eventually drying, so the full account extends beyond either 40 or 150 days when all stages are counted.
Readers sometimes treat the numbers as competing durations, but they refer to different parts of the story. Genesis presents rainfall, prevailing waters, recession, and drying as successive stages in its flood chronology.