自作聪明

zì zuò cōng míng

(idiom) to think oneself clever

自

zì

(bound form) self; oneself

作

zuò

to do; to engage in

聪

cōng

(literary) acute (of hearing)

明

míng

bright