Cavalry were actually very versatile set of military assets. They were used for scouting, skirmishing, raiding, flanking, etc, the aspect here is that cavalry were highly mobile compared to infantry, so nations with expansive borders or constant border crisis would be incentivized to invest...