a sermon intended for spiritual guidance
If need were, he could preach a homily on the fragility of life — Charles Lamb
a talking-to on moral conduct
homilist noun
[Middle English omelie via French and ecclesiastical Latin from Greek homilia conversation, discourse, from homilein to consort with, address, from homilos crowd, assembly]