From Longman Dictionary of Contemporary Englishflatter yourselfflatter yourselfBELIEVEif you flatter yourself that something is true about your abilities or achievements, you make yourself believe it is true, although it is notflatter yourself that She flatters herself that she could have been a model. → flatter
Examples from the Corpus
flatter yourself that• He flattered himself that he would discover a twin soul in the famous Rifleman.• Should we flatter ourselves that our descendants will find our concerns of the utmost importance?• I don't flatter myself that she was eager to take my name.• So I don't flatter myself that some one who gets my beliefs will automatically get true ones.