William Shakespeare said this quote

The gods are just, and of our pleasant vicesMake instruments to plague us.