The local merchants' profit pays for that. That profit comes from sales. For local merchants this likely means sales to customers like "you". So it's your money paying for those things via local merchants.
If your concern is foreign merchants not paying into the local tax system, it sounds like you're advocating for tariffs (i.e. taxes on imports).