destroy them along with the earth

The Hebrew that is most often translated as “destroy them along with the earth” in English is translated in Nyamwezi as “destroy them from the earth” (Source: Pioneer Bible Translators, project-specific translation notes in Paratext)

The Translator’s Handbook on Genesis (Reyburn / Fry 1997) supports this choice. See also “from the earth” in Genesis 6:7.