אֲהַלְלָ֣ה יְהוָ֣ה בְּחַיָּ֑י אֲזַמְּרָ֖ה לֵֽאלֹהַ֣י בְּעוֹדִֽי׃
Aku akan memuji Yang Mahakekal selama aku hidup; aku akan bermazmur bagi Allahku selama aku masih ada.
Likutei Halakhot
2. As it said in the words of Rabbeinu z"l (in Likutei Moharan 282) that when man begins to examine himself and sees that he is very far from Hashem, may He be blessed, and he is full of sins and many flaws, and it appears to him that he is far from good(ness), then he is required to search and seek and find within himself some goodness. How can it be that he did no good {act} all his days? And then he will see that even the little {bit of} good that he did is full of injuries, because it {he} is mixed {up} with much waste, even then it is impossible that there is not even a single good point in any way. And therefore he searches and finds within himself another bit of good, and even if this bit of good is also mixed with much waste, even so in any case he has within him some point of good. And then he will search and find within himself other good points and because of this he judges himself on the side of worthiness and finds within himself even more good points, even though he did what he did and damaged what he damaged. Because of this, he in truth goes out from {the side of guilt/}obligation and enters the side of true worthiness. And because of this he can merit repentance, and this is the aspect of (Psalms 37), "and yet a little and the evil is no more", etc. Through that little thing where there is no evil, through this and the meditation {he is transformed to a good person}, etc, see there. And by this he can make himself happy. And then he can pray and this is like (there, 146) "I will sing unto my God while I yet have my being". By means of the yet little that he finds in himself, by means of this he can sing and thank Hashem and by this melodies are created. For the tunes are made by selecting good spirit from gloomy spirit etc. And this is [why he says] "I will sing" specifically, as in melodies etc. And likewise one must judge others to the side of merit, even if he is a completely wicked one — one must seek and find in him some good point etc. etc. see there. And whoever can do this — to find a good point even in sinners of Israel — he can be chazzan (cantor) and pray before the podium etc., see there. And know, that every one of the Tzaddikim (Righteous) of the Age builds a tabernacle, that from there the children of Hebrew schools receive their breath without sin; therefore they begin from Leviticus etc., see there. And this Tzaddik who can collect all the good that is found in every one, he knows all the aspects that there are in this matter of tabernacles as mentioned above, that the Tzaddikim build, that from there the children receive their breath without sin etc. etc.; look into all this very well:
Likutei Moharan
This is connected conceptually with the verse, "I will sing songs to my God while I exist (=בעודי, through my עוד/still)" (Psalms 146:2)--precisely through my "still" (עוד), that is, by means of the concept of my עוד/still, that I find in myself--related to "A little longer (עוד, 'still') and there will be no wicked man; you will look at where he was— he will be gone" (Psalms 37:10), as mentioned above. By means of this point/note (נקודה) [that is, the עוד/the modicum of goodness that persists], I will be able to sing and to give thanks to Hashem, as mentioned above. Thus, "I will sing"--it is precisely that I will sing, that is, songs and melodies that are made by means of collecting the good notes, as mentioned above.
Likutei Moharan
And one can achieve joy by finding in himself a good point within oneself, despite everything, as has been explained about the verse “I will sing to God with what remains within me” (Psalms 146:2; Likutey Moharan I, 282). See there....