according to legend , the realm was ruled by a queen myrina , who with thirty thousand female soldiers and three thousand female cavalry swept through egypt and syria and all the way to the aegean , defeating a number of male armies along the way .