Dialectical materialism, as Marx and Engels saw it, does not shun spiritualism. It is just that these philosophers looked at it from a material point of view.