Jean-Jacques Rousseau said this quote

Laws are always useful to those who possess and vexatious to those who have nothing.