A bit off topic, but its actually interesting that for most of human history the logic has been the exact opposite. Kings and emperors routinely rode on the front lines and were considered btches by their people if they didnt.
More so, Countries still operated and ran even if their head of state was literally decapitated. The risks then were the exact same risks today yet they did not deter leadership from leading their troops. Arguably it made war between nations less likely, because your 40yr old leader faced the same risks as your avg 18yr old infantry recruit.