נִכְסְפָ֬ה וְגַם־כָּלְתָ֨ה ׀ נַפְשִׁי֮ לְחַצְר֪וֹת יְה֫וָ֥ה לִבִּ֥י וּבְשָׂרִ֑י יְ֝רַנְּנ֗וּ אֶ֣ל אֵֽל־חָֽי׃
My soul yearneth, yea, even pineth for the courts of the LORD; my heart and my flesh sing for joy unto the living God.
Rashi on Psalms
pines Heb. כלתה, desires, as (II Sam. 13:39): “And [the soul of] King David longed (ותכל) to go forth to Absalom.”
Rashi on Psalms
for the courts of the Lord for they have been destroyed, and he says this regarding the exile.