Verse 3

In his days Moab rebelled against the power of Edom, having been under Edom since the days of Hadad the son of Bedad, who smote them and Midian, and brought Moab under subjection to Edom.