。
Old and young alike went to war.
Literal
Old [also-も] young [also-も] war [to-に] went.
老いも若きも ('both old and young') is a literary set expression. 老い (from 老いる) and 若き (classical attributive of 若い) give it solemn, historical register. The classical grammar elevates the sentence.