then , because of the actions of their jealous queen who 'd ordered the death of apollo 's human mistress and son , they 'd been cursed by him to die horribly at age twenty-seven -- the same age his mistress had been when the queen had her killed .