Replying here as your other post seems to have been deleted. I feel for your situation, and I might be coming across as using a sledgehammer when a scalpel was the right tool for the job. Electronic devices are a tool just like any other, neither good nor bad, where the 'juice' is in how they're used. Unmonitored, unconsidered, overused pacifier = bad in most circumstances.
My kids are on electronic devices more than I'm comfortable with, but I work with tech and am potentially more of a techno-nerd than a number of the SWEs I work with, and so I potentially set a bad example. But I also engage with my kids about it, and have done so since they were able to understand words, plus they also have real-world friends and hobbies that balance it out, that we've made sure to encourage and model as they've grown up. It takes time, and any unconsidered 'banning' can well be as bad as unconsidered permissiveness.
I think "considered attention and understanding of the context" is closer to the scalpel type answer in regards to shaping a child into a functioning adult, no matter the topic.