Ants are usually noticed once they have already found a route indoors or across the patio. Ant repellents help deal with the problem where it starts, before it becomes a trail through the house.
Treating the areas they keep returning to is often more effective than simply wiping them away each time.