Thus says Yahweh: "For three transgressions of Gaza, yes, for four, I will not turn away its punishment; Because they carried away captive the whole community, To deliver them up to Edom;
Amos has in mind such carrying away of captives as occurred in the events recorded in  2 Chronicles 21:16.