Re: Good hardware... but
You can root it if you don't mind it tripping the Knox efuse.
I have an S4 that's almost out of contract. It's a great phone and I was able to root it before they rolled out the Knox-enabled firmware but I shan't be buying any more Samsung phone for this very reason.
My next phone in a month's time, will be a Nexus 6.