Well, defending walls would not have them fight cavalry would it now. So naturally these troops can defend walls rather effectively.