Remove JQuery?

It’s not clear to me where this code exists in your project, but this post from a while ago might be relevant: How Does Sage 9 Enqueue jQuery?