Umm, I think they’re quoting Paul there, not Jesus.
If Jesus disagreed, and didn’t want the words of wisdom in the Bible, they wouldn’t be there.
: )