curtains for someone or something
the death, end, or ruin of someone or something. (From the lowering or closing of the curtains at the end of a stage performance.) If the car hadn't swerved, it would have been curtains for the pedestrians. If they can't get into the export market, it's curtains for the whole company.