I don't think Jesus would ever adopt such a cold stance. It's probably someone pretending to be quoting Jesus while writing a passage for inclusion in the officially accepted version of the Bible. Just my opinion. 🙂
"How long will you simple ones love your simple ways? How long will mockers delight in mockery and fools hate knowledge? If you had responded to my rebuke, I would have poured out my heart to you and made my thoughts known to you.
"But since you rejected me when I called and no one gave heed when I stretched out my hand, since you ignored all my advice and would not accept my rebuke, I in turn will laugh at your disaster; I will mock when calamity overtakes you, when calamity overtakes you like a storm, when disaster sweeps over you like a whirlwind, when distress and trouble overwhelm you.
"Then they will call to me but I will not answer; they will look for me but will not find me. Since they hated knowledge and did not choose to fear the LORD, since they would not accept my advice and spurned my rebuke, they will eat the fruit of their ways and be filled with the fruit of their schemes."
— Proverbs 1:22-31