Obnoxious and Competent
At a job you’re typically going to do better if you’re competent at the work you’re hired to do.
If you’re lazy and incompetent no one at work will be inclined to help you or do you favors. Also, your supervisor, management, and leaders will be less inclined to preserve your job when someone better comes along.
If you’re competent and obnoxious, and no one likes you personally, but you get work done at a high level of competence, supervisors, management, and your co-workers will deal with you. And they’ll defend all manner of obnoxious behavior as long as your competency continues to increase.
Where people fail at work is that they neglect to increase their moat of competency.
And they grow their moat of obnoxiousness.
Or they grow their moats of incompetence and laziness.
None of which are going to help you when better technologies, better people, better ideas, or better systems come along to disrupt, remove, or replace you or your job.