Source · the work in full

Rashi on the Prophets and Writings

CC BY · The Judaica Press Complete Tanach, trans. A. J. Rosenberg
Chapter 27

Psalms 27

Do not cause me to be drawn Heb. תמשכני, do not draw me with the wicked; treras moy in Old French.

and I will thank Him with my song Now what is the thanks?...The Lord is strength to them to those who rely on Him, viz. the entire house of Israel, at the time that He is the stronghold of the salvations of His anointed.

and tend them Heb. ורעם, an expression of pasture (מרעה).

You arrive at the cited line; the whole work is yours to read around it. The text is set from the cited public-domain edition.