The thing is if you only go to such places then they aren't going to learn how to behave somewhere more formal
They will be absolutely fine - appropriate behaviour comes with age. I wouldn't have taken ds to a Michelin starred restaurant when he was small, but we did go to pubs and places like Pizza Express so he knew to sit quietly (and used to read, or do colouring - or - shock! - play on his Nintendo DS (the horror of a screen!). That meant that once we did go to more formal places he knew to sit quietly and was of an age where he didn't need distractions. And we would tell him to leave his phone at home by then.
Kids do not need to be taught everything. They do need to be told when something is unacceptable, and parents also need to understand that everyone else does not have to love their kids (or their noise).