The Ammonites and Moabites attacked the Edomites, destroying them completely. After they had killed the Edomites, they killed each other.