Exhortations to Holiness
The conclusion of the sermon comes in Matthew 7, the highlights of which include do not judge, that you not be judged, and with what standards you use to judge shall be used by God when he judges you. Jesus tells his listeners, don't try to pull a “mote,” or tiny splinter, out of another person's eye before first removing the “beam” or post from your own eye. In other words, don't be a hypocrite.
Jesus tells his listeners not to give holy things to dogs or cast pearls to swine. Then he says, “Ask, and it shall be given you; seek, and ye shall find; knock, and it shall be opened unto you: For every one that asketh receiveth; and he that seeketh findeth; and to him that knocketh it shall be opened. Or what man is there of you, whom if his son ask bread, will he give him a stone? Or if he ask a fish, will he give him a serpent?” (Matthew 7:7–10). Here he is reiterating the Old Testament teaching that anyone who truly seeks the Lord will surely find him, for God wants to give his best to his children.
He also compares good trees and their good fruits with corrupt trees that produce evil fruit; “wherefore by their fruits ye shall know them” (7:20). Jesus ends the sermon with the parable of the man who built his house on a rock and it withstood the ravages of life's storms, and the man who built his house on the sand and it was quickly demolished by the wind. He ends by saying that those who hear his sayings and act accordingly are like the wise man, and those who hear but fail to act accordingly are the foolish ones.

