Here is set forth the reason why he asks this; and it is twofold. One is from the past, which is the rectitude of life; hence he says, "My foot," that is, my affection or my progress, "has stood in the right path." Likewise, concerning the future, "I propose always to serve you"; hence he says, "In the churches I will bless you, O Lord," that is, before many: Ps. 39: "I have announced your justice in the great church." And he says in the plural, on account of the multitude of particular churches, as it is said in Rev. 3.
Source: Exposition on the Psalms of David