ceRNA regulatory network construction revealed that ncRNA might affect the function of key genes, such as CXCR6, GZMK, and KLRG1, in the pathogenesis of OA and MDD. The gene discussed is GZMK; the disease is major depressive disorder.