Jesus teaches not to judge, so as not to be judged by the same measure. He asks why one looks at the speck in a brother's eye without noticing the log in one's own, and commands removing the log first in order to see clearly. He also warns against giving what is holy to dogs or casting pearls before pigs.
Then he invites people to ask, seek and knock, with the promise that the one who asks receives, the one who seeks finds and to the one who knocks it is opened. If a human father gives good things to his children, how much more will the heavenly Father. He sums up the Law and the Prophets with the golden rule: whatever you wish others would do to you, do also to them.
Next he calls them to enter by the narrow gate, because the wide gate and the easy road lead to destruction and many enter by it, while the narrow gate leads to life and few find it. He warns against false prophets, who come in sheep's clothing but inside are ravenous wolves, and who are recognized by their fruit, as a good tree bears good fruit and a bad tree bad fruit. Not everyone who says Lord, Lord, will enter the kingdom, but the one who does the will of the Father; to some who point to their works Jesus will say that he never knew them and that they must depart.
Finally he tells the parable of the two builders: whoever hears these words and does them is like a wise man who built his house on the rock, and it did not fall when the rain, floods and winds came; whoever hears them and does not do them is like a foolish man who built on sand, and his house fell with a great crash. When Jesus finished, the crowds were amazed at his teaching, because he taught as one who had authority and not as their scribes.