Jean-Jacques Rousseau said this quote

Government in its infancy had no regular and permanent form. For want of a sufficient fund of philosophy and experience, men could see no further than the present inconveniences, and never thought of providing remedies for future ones, but in proportion as they arose.