then because of the wailing of the women in the halls of the palace and the greatness of his pity for that sad remainder of the peoples of gondolin , he gathered all that rueful company , maids , children and mothers , and setting them amidmost marshalled as well as he might his men around them .