בראשית ו, יג קֵּץ כָּל-בָּשָּר בָּא לְׁפָּנַי כִי -מָּלְׁאָּה הָּאָּרֶץ חָּמָּס
ירושלמי בבא מציעא דף טו/א פרק ד הלכה ב ומה היה חמסן הוה בר נש נפיק טעין קופה מלאה תורמוסין והיו מתכוונין ונוטלין פחות משוה פרוטה דבר שאינו יוצא בדיינין.
This explains well why Bais Din declares a “Mi sh’para” that “one who does not keep their word should be punished like the generation of the Flood” מי שפרע אנשי דור המבול הוא יפרע ממי שאינו עומד בד בורו. The Gemara (B.M. 48a) explains that one is obligated to keep their word. However, Bais Din is unable to enforce a promise. Thus, Bais Din pronounces a “Mi sh’para”, implying that this person should be punished just like G-d punished the generation of the Flood, who also attempted to deceive others in a manner that does not become applicable to court actions.