Origin of myself
Myself reaches English through Middle English, Old English, Scots, Dutch and German. Myself today means “Me, as direct or indirect object the speaker as the object of a verb or preposition, when the speaker is…”.
Etymology of myself
From Middle English myself, meself, from Old English mē selfum and similar phrases, equivalent to me + self, later partly reinterpreted as my + self / -self. Cognate with Scots mysel, mysell (“myself”), West Frisian mysels (“myself”), Dutch mijzelf (“myself”), German mich selbst, mir selbst (“myself”), Norwegian Bokmål meg selv (“myself”).
Etymology text from Wiktionary (CC BY-SA 4.0). Asterisked forms are reconstructed, not attested.