Leo Tolstoy said this quote

It's all God's will: you can die in your sleep, and God can spare you in battle.