Correct

自以为得计

/ zì yǐwéi de jì / 
Strokes

Example

Definition

be pleased with one's own scheming; think oneself smart/clever

1
Tā
他
bǎ
把
qián
钱
piàn
骗
dàoshǒu
到手
  
,
zìyǐwéidejì
自以为得计
  
,
nǎ
哪
liàodào
料到
yī
一
fù
副
shǒukào
手铐
zhēng
正
děng
等
zhāo
着
tā
他
  
。

He flatted himself that he had succeeded in gaining the money by swindle, but he never expected that a pair of handcuffs were made ready for him.