Tolstoy was unquestionably a great writer, but he could also be a grade A nutball on a lot of issues. Also, he was nowhere near as good as Dostoevsky.
By any aesthetic metric Tolstoy was a far greater artist than Dostoevsky who had a weakness for melodrama and thin characters not to mention a severe lack of descriptive prose. That said, at the end of his life, Tolstoy was a religious kook who dismissed most Western Art.