Chinese words · Chengyu

不得已而为之

bùdéyǐ’érwéizhīTraditional 不得已而為之

to do something because one has no choice

Meanings from our own dictionary. Chengyu from the Xinhua idiom list, the most common first.