Arcana Coelestia #7455
7455. 'Behold, should we sacrifice the abomination of the Egyptians before their eyes' means that if offered in their presence Divine worship would be molested by such things. This is clear from the explanations immediately above in 7454.
Joshua 8:24-25
24
It happened, when Israel had made an end of killing all the inhabitants of Ai in the field, in the wilderness in which they pursued them, and they had all fallen by the edge of the sword, until they were consumed, that all Israel returned to Ai, and struck it with the edge of the sword.
25
All that fell that day, both of men and women, were twelve thousand, even all the men of Ai.