The Gospel of Matthew records the Sermon on the Mount. It presents Jesus teaching a large crowd on a mountain, beginning with the Beatitudes and continuing through teachings about prayer, anger, marriage, generosity, and love of enemies.
The sermon occupies Matthew chapters 5–7 and is one of the longest continuous teaching sections in the New Testament. It includes the Lord’s Prayer and the parable-like image of building a house on rock rather than sand.
Luke contains a related collection known as the Sermon on the Plain. Some teachings overlap with Matthew, but the settings and arrangements differ. This is why the two sermons should not automatically be treated as identical passages.
Matthew’s mountain setting also recalls important biblical scenes involving Moses and revelation. The Gospel uses the setting to portray Jesus as an authoritative teacher who interprets religious law.