Значение идиомы on pain of

[on pain of] also [under pain of] {prep.}, {formal} At the risk of;under penalty of.

The workers went on strike on pain of losingtheir jobs.

The rebels had to swear under pain of death never toconfess where their comrades were hiding.