A platitude.
A sermon, especially concerning a practical matter.
A moralizing lecture.
In a homey manner.