Many misconceptions
There can be many misconceptions about what righteousness is. It is actually the same as truth. To pay your debts is a first step in righteousness. To bear the consequences of the foolish things you have done, or the sin you have committed, without complaining—that too is righteous. But to treat everything and everyone in exactly the right way, with the right balance between goodness and strictness, between warmth and firmness, between gentleness and strength—that is divine righteousness.
The Bible gives many very clear descriptions of the perfect righteousness of God. He doesn’t break a bruised reed, and He will not quench a smoking flax, but He brings forth justice for truth. Isa. 42:3. He fills the hungry with good things, and the rich He sends away empty-handed. Luke 1:53. He resists the proud, but gives grace to the humble. 1 Pet. 5:5. His Sun of Righteousness arises with healing in His wings. Mal. 4:2.
The great teacher of righteousness
As natural people, none of us are righteous according to this standard of God. We are justified freely by His grace through the redemption that is in Christ Jesus. Rom. 3:10 and 24. But even if we are justified and have obtained peace with God, we do not thereby have all the righteousness and peace that dwells in God! But Jesus says here that we are blessed if we hunger and thirst for this righteousness, and then we will be filled. We then also receive the Holy Spirit, who is the teacher of righteousness. Joel 2:23 [margin].
If we receive instruction from this teacher, we will truly learn what it means to be righteous, because people usually only have a very superficial idea of what it is. Most people consider themselves as being completely righteous when they are more or less honest in matters of money. But if anyone should question their righteousness, they become offended, and the evil comes out. That kind of righteousness is only wood, hay, and straw. The righteousness that suffers wrongfully with joy is of God. Then we truly experience what it says in Prov. 4:18: “But the path of the just is like the shining sun, that shines ever brighter unto the perfect day.”
Hunger and thirst for practicing righteousness
Notice that Jesus is referring here to those who hunger and thirst, that they themselves should practice righteousness toward all others, not to those who hunger and thirst for others to practice righteousness toward them. For there are many who are like that, and it is only self-love. But to hunger and thirst to do everything that is right and good toward all others—that is a virtue, and then we are filled by practicing righteousness. That means that we receive grace and power to practice all the righteousness that God gradually reveals.
If we hunger for the forgiveness of sins—righteousness imputed because of faith in atonement—then we will receive it. Then a beginning has been made. If we then further hunger to be able, personally, to practice righteousness toward everyone, then we will be filled with it. If we hunger to put on the new man, which was created according to God in true righteousness and holiness, Eph. 4:24, then we will succeed! As surely as there is hunger, just as surely will we be filled. The more we hunger, the more we are filled, and to the extent that we continue to hunger, to that extent we continue to be filled! We must therefore be careful not to do as the Corinthians did; for they had already become full! They had stopped hungering; therefore, they could receive nothing more from God. They were all so satisfied with what they had received, that they had stopped moving further on the way. 1 Cor. 4:8. When our hunger stops, progress stops.
_____
References
Johan Oscar Smith. Summary of a Bible Study Held in Oslo, December 28, 1921. Skj. Sk. Dec. 1922.
Elias Aslaksen. Bible studies in the Gospel of Matthew. Published as a series in Skjulte Skatter between 1936 and 1941.
Elias Aslaksen. The Way of Hunger. The Way of Life.
Aksel J. Smith. Righteousness. Skj. Sk. Feb. 1960.