This sentence was said by Anaximander of Miletus.
He was an ancient Greek philosopher who was Thales' disciple. Pythagoras was one of his students once he grew up. He had many theories about science, some of which are used even today. His philosophical thoughts are studied in contemporary philosophy too.