Theodore Roosevelt actually said...
The republic cannot succeed if we do not take pains in educating the masters of the republic—that is, the people.
Context
Remarks to the Students of Randolph-Macon College in Ashland, Virginia
10/17/1905