Where does “собой” come from?

собой (Russian) comes from Old East Slavic собоѭ, from Proto-Slavic *sobojǫ — (with) oneself, each other.

Ancestry of “собой”, step by step

StepLanguageWordMeaning
1Old East Slavicсобоѭwith oneself
2Proto-Slavic*sobojǫ(with) oneself, each other
Every word from Proto-Slavic *sobojǫEvery word from Old East Slavic собоѭ