You are not hired because you know X language, you are hired because you know how to do the job.
For example, let’s say that a candidate knows Java (tips: nobody knows Java!). In fact, Java (as a language) is quite easy to learn, it is not as complicated.
But, the business, while it uses Java, but it also asks for Spring Boot, Thymeleaf, Jboss EAP, EJB, JPA, WS, and WS-REST if not a dozen of technologies/specifications/libraries.
It’s not rare to find a new candidate that knows Java that finds that he/she knows nothing really.

And it is funny, but most school and Universities teach you the right language using the wrong technology (usually outdated technology). An example, Java-Swing (a technology that had better times a decade ago) and they (universities) still teach it.
Some universities are stubborn, and they don’t want to teach you a technology but “they teach you the way of thinking” However, the real world asks for technology.
How I know?.
Because I train professionals (local market, in Spanish).