Ants release chemicals when they die that attract other ants, to fight off the threat. This is annoying, because squishing an ant that bit you is likely to attract more bitey ants.
Do ants have a chemical signal for “all ye who enter here, either turn back or abandon all hope”? Can you teach a hive to fear a certain place? Or do they just keep coming forever?
I personally feel like we should institute a priesthood of ant-scarers in addition to signage warning them of the honorless dangers.