What is the best language to hack in, and can somebody make a good course in hacking because I want a career in cybersecurity
Hacking isn't as much knowing a language, as it is knowing concepts. languages simlply let you execute those concepts, so it doesn't matter what you pick. With that said, Python is a very popular one due too it's fanatic packet manipulation library, scapy https://github.com/secdev/scapy (Not to be confused with an awesome web scraping library, scrapy)
Hacking isn't really about knowing a language. Sure, you need programming knowledge, and if you're trying to hack with, say, an SQL Injection then you would of course need knowledge of SQL. Cybersecurity is quite a broad term - I think what you're thinking of is ethical hacking.
A great place to learn about cybersecurity and becoming an analyst is cyberdiscovery. Try their course next year, it'll show you cybersecurity is for you. Good luck!
Hackers don't often use code (unless they're sending out a virus). Instead, hackers figure out exactly what your code is doing in the background and figure out a way to bypass that. Let's say someone named Alice had a contact form:
Alice's form uses a post request to send the info to the server.
She made a design mistake, though: validation. Anyone can type ANYTHING into the fields.
OK, so say someone named Bob went to the website Alice's form is on. He cracks open the element inspector and sees NO VALIDATION in the sending of the form. Bob starts to think about how to hurt the server with this. His choice is to write a program that generates spam above the buffer size in order to exceed the bandwidth. Bob sends it, and Alice's mistake is proven costly to the website, since she also didn't have any backup.
Disclaimer: none of what Bob did is recommended, as it is evil and illegal. You probably already know that, though.
I'm not sure if there is the best language to hack in, it all depends on the trend and on your mindset and personality. finding solutions on your own and fixing problems. If you want a job in a certain field the best way is to get it is by enhancing your own skills and you can only do that by having side projects. Try to create your side projects and learn on your own and from others projects, get their attention by showing your work and talking about it. This is how you get what you want.