the slaughter of the Edomites
"slaughtering the Edomites"
the gods of the people of Seir
"the gods that the people of Seir worshiped"
bowed down ... burned incense
These are symbolic acts of worship.
the gods
The popular opinion of the day that the gods determined who won battles.