量力而行

liàng lì ér xíng

to assess one's capabilities and act accordingly (idiom); to act within one's competence

One does what one can.

量

liàng

capacity

力

lì

power

而

ér

and

行

xíng

(bound form) to walk; to go; to travel