From horse, meaning "cavalry", and foot, meaning "infantry".
horse and foot pl (plural only)
horse and foot (not comparable)