量力而行

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

power

ér

and

xíng

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