It varies, in my experience. I've worked in government agencies with very little politics, and agencies with shitloads of workplace politics. The latter perform far worse than the former. The political agencies tend to have ill-defined goals, which causes misalignment which in turn generates politics.