The distinction between mind and matter applies only to logical constructions out of sense-contents.
孔子说:“早上理解真理,晚上死也值得。”