The Sermon on the Mount has been about wholeheartedness toward God – expressed in a righteousness of the heart that is greater than that of the Pharisees.
Matthew 6:19-7:12 is concerned with wholeheartedness in relation to our living in the world. Do we seek treasure on earth or in heaven? The treasure that is on earth is prone to becoming invisible whether by moths eating clothing, mice eating grain or thieves stealing our precious coins.
Is our wholeheartedness expressed in a singular motivation of generous giving or do we have an evil eye – a stinginess that reflects a divided heart? Does our giving display a life of light and revelation knowing God or are our lives darkness? Do we serve God or money?
Are we wholehearted in trusting our heavenly Father to provide our needs as he provides clothing for the flowers and food for the birds? Do we seek first the kingdom of God and his righteousness or are we troubled by anxious worry?
Jesus also speaks of our judging. Do we judge others for personal gain or do we trust our Father in heaven to provide us with good things? Ask, and it will be given to us; seek, and we will find; knock, and it will be opened to us. Judging is replaced with trust in our Father. Jesus expands on judging to include the kind of division people make between internal and external judgments – another example of non-wholeheartedness.