Whenever I type or paste text with the phrase "B_ne = B_e – B_i – B_il" in it into Office, it changes my system language to Russian

Turn off the option to "detect language automatically."