1023. The prophet, in the person of the Lord, excludes the useless remedy: for they seek me from day to day. And concerning this, he does two things: first, he excludes the remedy in which they trusted; second, he exhorts them to those things in which they were lacking: is not this rather the fast that I have chosen? (Isa 58:6).
1024. Concerning the first, he does two things. First, he shows the presumption of their confidence as to three things in which they trusted, namely, in the inquiry of sacred knowledge: for they seek me, in the Scriptures, and desire to know my ways, my precepts and d...esires, as a nation that has done justice, that is, as if they were prepared to do them: they speak one to another (Ezek 33:30). Again, in prayer: they ask of me the judgments, that is, that I might judge for them against their adversaries; they are willing to approach to God, with their mouth, above: this people draw near me with their mouth (Isa 29:13).
Source: Commentary on Isaiah