If men are not to be appointed by favoritism, wise or unwise, honest or dishonest, they must be appointed in some automatic way, which generally means by competitive examination.
 Theodore Roosevelt, Theodore Roosevelt; an Autobiography (1913). copy citation

Context

“The pet shibboleths of the opponents of the reform were that the system we proposed to introduce would give rise to mere red-tape bureaucracy, and that the reformers were pharisees. Neither statement was true. Each statement contained some truth. If men are not to be appointed by favoritism, wise or unwise, honest or dishonest, they must be appointed in some automatic way, which generally means by competitive examination. The easiest kind of competitive examination is an examination in writing. This is entirely appropriate for certain classes of work, for lawyers, stenographers, typewriters, clerks, mathematicians, and assistants in an astronomical observatory, for instance.” source