Translation:Mikraot Gedolot/Psalms/1:6

Text
Because God knows the path of the righteous, and the path of the wicked will be lost.

Rashi
Because God knows the path etc.

Because He knows the path of the righteous and it's before Him to recognize it constantly, and the path of the wicked is hated in His eyes and He transfers it from before Him, for this, there will not be a leg to stand on for the wicked for the Day of Judgement and for sinners to be written in the congregation of the righteous.

Ibn Ezra
Because He knows

There is no doubt that [His] Honored Name knows the generalities and the particulars; the generalities being the soul of every living thing for all the creations; and the particulars being every species by itself, or even every being by itself, for they all are the work of His hands; only the knowledge of the particular for every one in general, both for righteousness and for evil we know, and forever...

מ"ג תהלים א ו