John the Apostle
1 John 3:22ESV·traditional attribution

and whatever we ask we receive from him, because we keep his commandments and do what pleases him.

John Calvin Reformed @genevareformer

22 And whatsoever we ask These two things are connected, confidence and prayer. As before he shewed that an evil conscience is inconsistent with confidence, so now he declares that none can really pray to God but those who with a pure heart, fear and rightly worship him. The latter follows from the former.

Matthew Henry Presbyterian @wholebiblehenry

The apostle, having intimated that there may be, even among us, such a privilege as an assurance or sound persuasion of heart towards God, proceeds here, I. To establish the court of conscience, and to assert the authority of it: For, if our heart condemn us, God is greater than our heart, and knoweth all things, Jo1 3:20.

Commenting on 1 John 3:20-22

John Gill Reformed Baptist @doctorgill

And this is his commandment,.... Having mentioned the keeping of the commandments of God, the apostle proceeds to show what they are; that they are faith in Christ, and love to one another; which two are reduced to one, because they are inseparable; where the one is, the other is; faith works by love.