自以為得計

Idiom

 * 1) To mistakenly think that one will ultimately succeed as the result of having accomplished only part of one's plan; because you won a single battle, you mistakenly think you will win the war.