Hard to choose. Gen 4 definitely had a lot that felt like filler spots such as Heatran, Phione or Shaymin, but the lore for them was easily the best of any generation's legendaries. Dialga is easily amongst my favourite Pokemon for its design and typing, as was Darkrai until Gen 7 nerfed it. Overall, I'd probably say Gen 4.