That hadith is encouraging Muslims to good deeds and according to the majority of scholars, it does not need to be sahih for us to follow it and accept it, even a 'weak' classification is good enough
That is because it is not a ruling or establishes a law or declares anything to be fard, wajib, etc, it is only encouraging to good actions AND because Allah is so Merciful and bountiful that we can hope for the mentioned reward for those deeds and Allah CAN give it to us
Check out ruling on 'weak hadiths' :
https://islamqa.org/hanafi/qibla-hanafi/35756