Language:
Free Online Dictionary|3Dict

以为得计

Source : CEDICT

to pride oneself on having done something smart (idiom)