Jesus cautions against practicing righteousness to gain the approval of men. The blessed life, which is a life lived in relationship with him, seeks the approval of God. If you seek man's approval, you may get it, but that's all the reward you'll have.