There’s a lot of stuff mixed up in there. Edom refers to descendants of Esau, which the Arabs aren’t; they’re descended from Ishmael. Also, the Moabites and Ammonites are not directly related to either Edomites or Ishmaelites. (This is why the Jordanians rejected the name “Palestine”.)