I would say it depends on where you live. In NJ after a few years most patrolmen make as much if not more than a UPS driver. (partial explanation for our high taxes) The hours for both are bad, patrolmen work rotating shifts and weekend UPS drivers long hours. As a policeman, other than court time you should just work 40 a week. The odds of someone shooting you are greater for police. Cops get great benefits, so do UPS drivers.
It is to the point you need a college degree in law enforcement to get a job as a cop, the competition is tough.
As I said before, it depends on where you live, whether you're going for State Police, or more local LE.
I worked with a guy years ago whose brother became a NJ state trooper, he'd come into work every Monday saying he talked to his brother and was told 3 guys dropped out, 2 the next week, etc. It's tough training, I met his brother after he graduated, was ramrod straight, chest out, stomach, yes sir, how you doing sir, etc.
A few months ago was a post that said Suffolk County, Long Island cops made $90k a year. If you can talk to a few cops and find out who has the best deal, etc, the pros and cons of the job. You can usually find a couple cops hanging around a donut shop, (this is said half in jest, I stop at a Dunkin Donuts every nite on my way to work and there is usually a couple there on their break).