Using the teachings in the Old Testament book of Jeremiah, a preacher would sermonize about decreasing personal piety and warn of impending doom.
The word is of French origin. The proper spelling is "ia" (jeremiads), though I have seen the "ai" spelling before.