Do good, then throw it into the sea

Do good but don’t keep a tab on all the good deeds you do.

If a person feels self admiration after doing something good or fears that he may show off, he should ward that off and resist it by seeking refuge with Allah from it.

These kind of feelings happen to everyone, but you have to try to be sincere towards Allah, seek His forgiveness, and remember that there is no strength and no power except with Allah; if it were not for the help of Allah, you would not have been able to do this good deed, so to Allah be praise in the beginning and at the end.

The Prophet ﷺ said to Mu’aadh ibn Jabal: “O Mu’aadh, by Allah indeed I love you, and I advise you, O Mu’aadh, do not forget at the end of every prayer to say: Allaahumma a’inni ‘ala dhikrika wa shukrika wa husni ‘ibaaditika (O Allah, help me to remember You, give thanks to You and worship You in the best way).”
Narrated by Ahmad, Abu Dawood, al-Nasaa’i, and others; it is saheeh.

Do not forego doing good deeds for fear of showing off, because this is one of the tricks that the Shaytaan uses to weaken people’s resolve and stop them from doing things that Allah loves and is pleased with.