Then when he adds and know his will, he mentions their prerogative in regard to the fruit of the law: first, with respect to the person himself; second, with respect to others, at are confident.
In regard to the first he mentions two fruits.
The first corresponds to boasting of their relation to God, when he says, and knows his will, i.e., what God wants us to do: that you may prove what is the will of God (Rom 12:2).
The second corresponds to their resting in the law, when he says, and approves the more profitable things, i.e., you know to select not only good from bad things but also bett...er from less good. Hence someone asked: which is the great commandment? (Matt 22:36).
And this, being instructed by the law: blessed is the man whom you will instruct, O Lord, and will teach him out of your law (Ps 93:12).
Source: Commentary on Romans