自作聪明

zì zuò cōng míng

(idiom) to think oneself clever

(bound form) self; oneself

zuò

to do; to engage in

cōng

(literary) acute (of hearing)

míng

bright