Sirach 33:5

5 The heart of the foolish is like a cartwheel; and his thoughts are like a rolling axletree.

Sirach 33:5 In-Context

3 A man of understanding trusteth in the law; and the law is faithful unto him, as an oracle.
4 Prepare what to say, and so thou shalt be heard: and bind up instruction, and then make answer.
5 The heart of the foolish is like a cartwheel; and his thoughts are like a rolling axletree.
6 A stallion horse is as a mocking friend, he neigheth under every one that sitteth upon him.
7 Why doth one day excel another, when as all the light of every day in the year is of the sun?

The Brenton translation of the Septuagint is in the public domain.