Society has needs that must be fulfilled and that creates job opportunities. Education, health, food, transport and communication are just some examples of basic human needs. So for them to be made accessible to people, someone has to work in these fields.
In the book “How to find a job in 30 days”, I wrote a chapter about how you should think about your profession. Always remember that opportunities only exist because there’s a need that needs to be satisfied.