Nietzsche’s philosophy indeed seems to be quite in agreement with Dostoevsky’s quote above. His writings are very influential, if not the origin of nihilism, which asserts that there is no profound meaning to life, that there is no purpose and no ethics. Nietzsche would perhaps point to aesthetics as a guiding direction.