The aggressiveness of ants in arid environments with scarce food supply helps protect plants against herbivorous arthropods.