If the business of a particular airline is not viable then the airline ends indeed. Assets are sold. Employees must look for work elsewhere.
The government can support employees to help tide them over, but bankrupt companies must be let go. That is how it is supposed to work.