This study aimed to develop an electrocardiogram-hemoglobin (ECG-Hb) deep learning model (DLM) for detecting anemia and assess its impact on all-cause mortality and new-onset heart failure.<h4>Methods</h4>This retrospective study analyzed ECGs and corresponding Hb levels from two hospitals. Here, GSTM1 is linked to heart failure.