אַתָּ֣ה יָ֭דַעְתָּ שִׁבְתִּ֣י וְקוּמִ֑י בַּ֥נְתָּה לְ֝רֵעִ֗י מֵרָחֽוֹק׃
Tu connais tous mes faits et gestes, longtemps d’avance tu es instruit de ma pensée.
Rashi on Psalms
You understand how to attach me from afar You understand from afar [how] to attract me to Your friendship and to Your love.
Rashi on Psalms
to attach me Heb. לרעי, to attach me to You.