
Never do something enjoyable that is related to one's work, keep your work separate from your private life; don’t do business with friends.
Possibly to the early 1900s, and presumably was well in use by 1934 as F. Scott Fitzgerald uses a play on it in Tender is the Night: