Fyodor Dostoevsky said this quote

If there is no God, everything is permitted.