I'm pretty sure the original DP plan was to have Ash win the league and face the E4 either losing to them or Cynthia. Ash could win Kalos and the next league but lose the Gen 8 one and I'd be ok. It truly matters how well he trains his team and if he uses older pokes like in Sinnoh. Not only did he have good Pokemon but he had better strategy which helps