2 directions. Either it's a closed loop, where he betrays the hero group creating the stigma, etc.
or
There's a good ending.
Given how Ageha's ability works, I'll assume it's a mix of the two where he will eventually manage to secure a happy timeline with her, Judith and the sword, but not...