As it was foretold both in general of all nations, Deuteronomy 2:25, and particularly concerning Moab, Exodus 15:15.
Related Commentaries of Numbers 22:3
Numbers 22:3
3 And Moab was sore afraid of the people, because they were many: and Moab was distressed because of the children of Israel.