It is a principle of dialectics that "contradictions are inherent in nature, the struggle between the old and the new is the process of development". Mixing religion with Marxism is a fundamental contradiction (idealism vs materialism, as pointed out by RD) that many of us leftist struggle with due to our own unique material upbringings, but one that we will ultimately overcome and unfetter ourselves off the idealism that comes with religion.
RD take is the correct one here but this is not the way to address it, it is simply unempathetic to Hakim (we don't know the source of his spirituality, might be related to his upbringing during war?). A private conversation + follow up post would've been the way to address this.