The Edomites wrongly thought that God's judgment on his people and his leaving the temple meant his covenant with Israel had ended. The Edomites boasted and elevated themselves above both Israel and the Lord.
The God of Israel would not allow such boasting, for he is the ruler of all. His choice of Israel and his gift of the land to them would not be taken back.