Language:
Free Online Dictionary|3Dict

以為得計

Source : CEDICT

to pride oneself on having done something smart (idiom)