Isn't the purpose of a bailout to stop a larger economic collapse rather than save a company?

My contention is it doesn't stop a larger economic collapse - it just kicks it down the road and makes it grow even larger.