Dostojevskij skrev detta efter att nästan ha blivit avrättad.