1797, from we + egotism; "an obtrusive and too frequent use of the first person plural by a speaker or writer" [OED].
weet
weevil
weft
*weg-
*wegh-
wegotism
Wehrmacht
*wei-
*weid-
Weigela
weigh