The problem wasn’t the ants, it was the way the slab was formed which caused the slab to crack and the house was also built into the mud of a road side embankment. Due to this crap design the ants could access the wood and had access to water from the mud.
I assessed all of this and figured it wasn’t the ants fault, they were doing what they do, building nests and chomping wet wood.
Did I go and poison all the ants ? Nope. I just planned to fix the design move the wood they lived in off to the forrest nearby.
This was a conscious choice I made to not destroy the ants and benefit from a more robust design with less moisture problems in the house.
I just bought a house which the floor has been demolished by termites and I’ll do the same thing.
Imo with a bit of consideration, I think most of these coexistence problems can be worked out fairly simply.