I think Lugia is xerneas's best counter by far
Even with +2SPA from power herb and thunderbolt, Xerneas can't KO it, and then lugia can just take a +2thunderbolt and whirlwind Xerneas, and suddenly Xernas isn't very threatening without it's power herb and geomancy boost