Play with a foole at home, and he will play with you in the market.
George Herbert (1874). “The Complete Works of George Herbert: Prose”, p.322

Play with a foole at home, and he will play with you in the market.