After Babylon destroyed Jerusalem, the Edomites captured fleeing Jews. Then they gave these Jews over to Babylon. The Book of Obadiah is about Yahweh judging the Edomites for harming his people. This book would be comforting to the exiled people of Judah.