In the Sermon on the Mount in Matthew 5-7, much of the focus for discussion is often on the first part of the Sermon containing the Beatitudes in Matthew 5 and the Lord's Prayer in Matthew 6.
In fact, the last admonition of Jesus in Chapter 6:
"But seek first the kingdom of God and His righteousness" (vs. 6:33,
HCSB), somehow seems to conclude the Sermon.
But Jesus provided many instructions for His disciples in Matthew 7 as well! The Golden Rule that we all learned as children is vs. 12.
The behaviors Jesus identified in these additional instructions in Matthew 7 were taught in the context of eternal life.
In other words, these are instructions we should live by in our present life in preparation for eternal life.