This hasn't been true for a few years. When I bought my first iPhone a few years ago (the iPhone 12 in 2020), Safari indeed was a piece of junk. But starting the very next iteration cycle (iOS 14 or 15 I think) they fixed almost all the issues I had with it (tons of bugs, including rendering issues on some sites, but also quality of life features, like moving the URL bar at the bottom).
At first I used Safari because there was no other choice, today I use it because it's a decent browser and doesn't drain battery too much. Even if Firefox with Gecko or Chrome with Blink were available, I would stick with Safari.