tirer le diable par la queue

Etymology
Attested in Dictionnaire de l'Académie française (1694), p. 326, as. lit. 'to pull the devil by the tail'.

Verb

 * 1) to scrape by, to live from hand to mouth, to feel the pinch, to have trouble to make ends meet, not to have enough to live