It’s a simple thing. You get a loan,you pay it back;so it behooves a person to be pretty certain that possibility exists or the loan is not granted. To be able to pay back a loan,future employment must be such as to make it a very likely possibility that this will happen. Some jobs must depend on getting training on the job as the pay is not enough to support a person & repay a loan.
It's not a simple thing, actually. The whole racket of overpriced university level education paid for through student loans is fraudulent. You want a college education, say in electrical engineering. Well you pay $50,000 per year in tuition and take out a loan. Then you discover after you graduate the salaries are suppressed through H1B hiring of foreigners, who by the way have their educations paid for by their governments.
It's a mess that the over-indebted 22 year olds did not make.