This is, to me, one of the absolute biggest selling points for ZigBee and Z-Wave.
I can get some random, vendor I've never heard of, ZigBee sensor, and I know it won't do anything rogue on the internet because it doesn't have any way of getting to the internet.
Also, ZigBee is extremely power efficient compared to WiFi. With ZigBee, I don't mind putting a sensor in the crawlspace or somewhere a pain to get to. It won't need the batteries changed for a year or two anyway.
I know Matter can work over more efficient means than WiFi, but most of the cheaper devices I find are WiFi. A cheap ZigBee device is still ZigBee.
As I said, my experience has been that the cheaper products run on WiFi. I also don't like that a product advertising "Matter" doesn't answer the question of whether it uses WiFi or not.
I much prefer that a $3 ZigBee temperature and humidity sensor definitely doesn't use WiFi rather than having to dig to see if a cheap a Matter sensor uses WiFi.
I'm sure someone will chime in and say you can setup a VLAN and restrict all Matter devices from the internet yada yada...
You don't have to do that with Z-Wave or ZigBee. And with ESPHome you know exactly what the device is doing because you have 100% control over it.