Origin of therein
Therein reaches English through Middle English, Old English, Proto-West Germanic, Proto-Germanic, Dutch and German. Therein today means “in that; in that place; in him/her/it”.
Etymology of therein
From Middle English theryn, ther-inne, þer-in, from Old English þǣrin, þǣrinne, from Proto-West Germanic *þārin, *þārinna, from Proto-Germanic *þarin, *þarinna, equivalent to there + in. Cognate with Saterland Frisian deerin (“therein”), West Frisian dêryn (“therein”), Dutch daarin (“therein”), German Low German daarin (“therein”), German darin, drin (“therein”), Danish deri (“therein”), Swedish däri (“therein”), Icelandic þar í (“therein”).
Etymology text from Wiktionary (CC BY-SA 4.0). Asterisked forms are reconstructed, not attested.