This is why a simple piece of chalk can help you keep ants away
Ants won't cross a chalk line.