mid-14c., "where;" early 15c. as a conjunction, "in consideration of the fact that, considering that things are so; while on the contrary," from where (in the sense of "in which position or circumstances") + as.
Old English hwær, hwar "at what place," from Proto-Germanic adverb *hwar (source also of Old Saxon hwar, Old Norse hvar, Old Frisian hwer, Middle Dutch waer, Old High German hwar, German wo, Gothic hvar "where"), equivalent to Latin cur, from PIE root *kwo-, stem of relative and interrogative pronouns. Where it's at attested from 1903.
It has figured in a great many prepositional and adverbial compounds through the years; in addition to the ones listed in this dictionary (whereas, wherefore, whereabouts, etc.) English has or had whereagainst, wherefrom, wherehence, whereinsoever, whereinto, wheremid, whereout, whereover, whereso, wheresoever, wherethrough, whereto, whereunder, whereuntil.
c. 1200, worn-down form of Old English alswa "quite so, wholly so," literally "all so" (see also), fully established by c. 1400. Equivalent to so; any distinction in use is purely idiomatic. Related to German als "as, than," from Middle High German also.
Phrase as well "just as much" is recorded from late 15c.; the phrase also can imply "as well as not," "as well as anything else." Phrase as if, in Kantian metaphysics (translating German als ob), introducing a supposition not to be taken literally, is from 1892; as an interjection of incredulity (as if!; i.e. "as if that really could happen") is attested from 1995. It duplicates Latin quasi. Phrase as it were "as if it were so" is attested from late 14c.
<a href="https://www.etymonline.com/word/whereas">Etymology of whereas by etymonline</a>
Harper, D. (n.d.). Etymology of whereas. Online Etymology Dictionary. Retrieved $(datetime), from https://www.etymonline.com/word/whereas