Rangers are a valuable resource to anyone venturing into the backcountry. I cannot count the amount of times I’ve been provided useful information and services by rangers. I’ll happily strike up a conversation with any ranger I meet.
Based on your statement I’d be surprised if you’ve ever interacted with a ranger. The only people I meet who dislike rangers are the types who feel entitled to do whatever they please in the wilderness and refuse to carry a bear can when hiking through Yosemite.
Take the mindless anti government sentiment elsewhere.
Broadly speaking, there are interpretative rangers who provide information and education about national parks and there are law enforcement rangers who exist to protect people, park features, and provide emergency services. If you don’t wish to talk to any rangers, go right ahead, but please don’t spread misinformation about them.