适可而止

shì kě ér zhǐ

(idiom) to refrain from going too far; to know when to stop

适

shì

to fit

可

kě

(prefix) can; may; able to; -able

而

ér

and

止

zhǐ

to stop