I wouldn't be using the comparison of a UTV to a tractor to decide, they are two different things, it's like saying why get the wife a new car when a dump truck can do the same thing and more.
I have both, it's not close on deciding which one to use. A John Deere bucket tractor and a 2020 Polaris General (very close to the Ranger model). The Polaris was not my best purchase cost wise, that said, the slightly used Ranger you are looking at is less than half the cost of what I paid, which makes it a pretty good value, it's something to consider. Another thing to consider if you are in the market for a UTV is supply, there's not a lot of them around, especially good used ones.