In Jeremiah’s time there were men who preached peace and prosperity when Jeremiah was preaching exile and destruction. God labeled their teaching rebellion against the Lord.
The error was not complex. The prophets and teachers were not hearing from God, so they preached the positive message that people wanted to hear.
Paul tells Timothy that in the last days teachers will “say what itching ears want to hear”. David Wilkerson called it the “gospel of accommodation”. Let us be clear. It’s called lying.