How to add jquery?

I have added some jquery code in the creation of a custom component. In the console I am getting an error:

I have downloaded jquery and placed it inside my component’s folder. The code I am using in the index.js file is:

But it is not working. How to fix this?