All of Matthew 7 is Jesus talking about how to remain in one's walk and to be successful in Him in our lives of faith, touching upon the themes of rightly judging, effective prayer, the "golden rule"--how to treat others, the narrow gate that leads to a rewarding life as opposed to lives filled with difficulty and trouble, about the imagery of the tree and its fruit and how our actions reveal what fruit we bring forth, about what makes a true disciple, and finishes up with how we can build our physical lives on a solid foundation in Him, the Rock.
Some might disagree. Check out Matt 7:13.
http://www.easyenglish.info/bible-commentary/matthew4-13-im-lbw.htm
v13 ‘Enter in through the narrow gate. There is a wide gate and a broad road. But that way leads to hell. Many people go through that wide gate. v14 But the gate is small that leads to life. And the road is narrow. Few people find that way.’