For most purposes, a foreign tech worker is a lot like having an extra tourist on any given week. They are giving money to your local businesses, but aren't competing with locals on anything but housing. The locals are going to see an increase in income in the very same way that they do in tourist towns: Extra demand for goods and services will provide more jobs and quite possibly marginally higher wages.
Take a random tourist town: Say, in the southern coast of Spain. Then tell them that finally, they had managed to get rid of all the tourists, forever. Is that good or bad for the town? It's not as if there are no externalities, but in general, tourism is going to be good for your economy, and the amount of extra taxes the tourist pays on lodging is pretty low. Which Caribbean islands do better, those that have a lot of tourists, or those that don't take any external money?
Also consider what happens in the opposite side of the remote worker, where what you get is the equivalent of a foreign worker who comes in, pays taxes, but spends basically nothing, and spends all their salary in remittances, to be spent abroad by their family. The worker is competing with you for the job, but then doesn't spend it locally! You will not find many municipalities that are all that happy of having a lot of jobs formerly done by locals in offices suddenly done by someone that is far away.