What is the meaning of [The wolf finds a reason for taking the lamb]

“When people behave badly they always invent a philosophy of life which represents their bad actions to be not bad actions at all, but merely results of unalterable laws beyond their control.”, Leo Tolstoy, The Slavery of Our Times (1890)