The first thing you need to ask yourself is why you want to root. What benefit can you derive, from gaining administrator access to your phone, that you don't have already?
Back in the good old days when I rooted my Motorola Droid or Galaxy Nexus, it was because there were features and functions that I could not get with the stock Android operating system. Over time, however, those features and functions have either been added to Android or are now available as apps.
The Android ecosystem is far more complex now, with banking and financial apps; cryptocurrency trading; stock and bond trading; and every type of commerce you can think of. Because of the security concerns involved in routing and opening your phone up to full administrator access, many banking and financial apps will not run on a rooted device or a custom ROM that is different from the stock operating system.
Since I have found, over the last few years, that I lose more benefit than I gain by rooting, I haven't done it... not to mention that many devices have encrypted bootloaders that cannot be unlocked without the decryption key. And the manufacturers are not willing to provide that.