Chasidut for Berakhot 35:14
אמר ליה ומי ידעי כולי האי והא כתיב (קהלת ט, ה) והמתים אינם יודעים מאומה אמר ליה אם קרית לא שנית אם שנית לא שלשת אם שלשת לא פירשו לך (קהלת ט, ה) כי החיים יודעים שימותו אלו צדיקים שבמיתתן נקראו חיים שנאמר (שמואל ב כג, כ) ובניהו בן יהוידע בן איש חי רב פעלים מקבצאל הוא הכה את שני אריאל מואב והוא ירד והכה את הארי בתוך הבור ביום השלג
He asked him, "Do they know all that ; for lo, it is written, 'The dead know not anything' (Eccles. ix. 5)?" He answered, "If thou hast read [this verse], thou hast not read it a second time ; if a second time, then not a third time ; and if a third time, its meaning has not been explained to thee. 'For the living know that they shall die' (ibid.) — this refers to the righteous who are called living even in their death ; as it is said, 'And Benaiah the son of Jehoiada, the son of a living man of Kabzeel, who had done mighty deeds, he smote the two altar-hearths of Moab ; he went down also and slew a lion in the midst of a pit in time of snow' (II Sam. xxiii. 20).
Kedushat Levi
In spite of this commentary by Maimonides, what the Mishnah meant refers only to the creatures. i.e. man, to whom G’d had given בחירה, the ability to make their own decisions as to whether they would live their lives in accordance with the wishes of the Creator or not. When man rises above the temptations offered in this world and chooses to serve his Creator this adds to G’d’s glory.
We know that by carrying out G’d’s will as expressed by the commandments He gave us in the Torah, we establish a “lifeline” to Him, and as the Talmud says in B’rachot 18, the righteous are considered as “great,” because they are called “alive” even after their bodies have already been interred. The same is not true for the wicked, who our sages describe as “dead” even while still walking around on earth. The wicked, by choosing a path which eventually results in their forfeiting their afterlife, have already identified themselves with “death,” even while onlookers do not yet realize this. [We hardly need any proof for his after reminding ourselves that Esau declined the benefits of birthright for precisely this consideration (Genesis 25,32). Ed.]