I also find it more confusing to teach to beginners than equivalent vanilla JS, and easier to make performance-hurting mistakes.
Cross browser compatibility was just one of the reasons the world fell in love with jQuery.
(And I'm not even against jQuery, I used it extensively mid-2000s-2010s, including on fairly large SPAs, and even taught a class with it for a little under 2 years, but again, to each their own)
I mean, the http://youmightnotneedjquery.com site reads like a parody even in 2021.
I prefer the DOM API in each example, save for examples that are clearly out of date to support old versions of IE without a polyfill (e.g. all the AJAX examples at the top can use fetch, other can use Object.assign, no use of the iterator interface anywhere, etc)
It takes twice as much typing without the chainable, unix pipe like API. I really don't get it, but I've been baffled by this industry's decision for more than a decade.
In that meaning jQuery is legacy.
That is just my humble opinion.