For Romans, military success was an absolute prerequisite for a political career.
Without military success, one could become Questor or (if lucky) Praetor, but no way he could become Console. He had to demonstrate somehow his military value on the battlefield before.
Some exceptions were made from times to times (e.g. Cicero) but they were usually followed up by the mob.