Source: Translations:
Riches are a good handmaid, but the worst mistress.
Wealth is a good servant, a very bad mistress
L'argent est un bon serviteur, et un méchant maître
Money is a good servant, a dangerous master.
Francis Bacon,
De Dignitate et Augmentis Scientiarum (1623), Book Six
The last two have sometimes been attributed to
Dominique Bouhours, but are probably just translations of Bacon's words.
Wikiquote: "Money" (B)
https://en.wikiquote.org/wiki/Source%3A++%26quot%3BMoney%26quot%3B