As it says in verse 9 of this psalm, we are righteous when we have distributed freely, and have given to the poor.
9 Vo tutambudilanga masumu meto, yandi wena wakwikama ye walunungu, mu kutuyambudila masumu meto ye kutuvedisa mu mambi mamonsono.