Apple specifically acknowledges this and has Lockdown Mode to address it. If you care about security you should enable it. Of course you’ll not be able to watch YouTube videos, but you’ll be safer.
* Controlling smart home devices
* Messaging and phone calls
* Checking the weather
* Recording data with Apple Health
* Uploading runs to Strava
* Setting wakeup alarms
* Listening to Apple Music
* Using Apple Maps to get around
* Connecting with CarPlay