Old English þærbig "thus, by means of or because of that;" see there + by. Similar formation in Old Frisian therbi, Middle Low German darbi, German dabei, Dutch daarbij.
He knocked over the red wine, thereby ruining the table cloth
therapist
therapy
there
thereabouts
thereafter
thereby
therefor
therefore
therefrom
therein
theremin