Voltaire said this quote

Shun idleness. It is a rust that attaches itself to the most brilliant metals.