flatter oneself

Verb

 * 1)  To have the false but pleasant belief that something is true.
 * He flatters himself that he has a good voice.