Panu Bogu świeczkę i diabłu ogarek

Etymology
lit. 'a candle for the Lord and a candle-stump for the devil'.

Proverb

 * 1)  ; run with the hare and hunt with the hounds