This passage of Matthew contains the very famous “Golden Rule.” What is often missed in this section is the expressed audience that Jesus is addressing: his disciples.
Matthew 7 : 5 – 14
“You hypocrite, first take the plank out of your own eye, and then you will see clearly to remove the speck from your brother’s eye. Do not give dogs what is sacred; do not throw your pearls to pigs. If you do, they may trample them under their feet, and then turn and tear you to pieces.
Ask and it will be given to you; seek and you will find; knock and the door will be opened to you. For everyone who asks receives; he who seeks finds; and to him who knocks, the door will be opened.
Which of you, if his son asks for bread, will give him a stone? Or if he asks for a fish, will give him a snake? If you, then, though you are evil, know how to give good gifts to your children, how much more will your Father in heaven give good gifts to those who ask him! So in everything, do to others what you would have them do to you, for this sums up the Law and the Prophets.
Enter through the narrow gate. For wide is the gate and broad is the road that leads to destruction, and many enter through it. But small is the gate and narrow the road that leads to life, and only a few find it.”
New International Version, 1984 Edition