Great this seems to be like a milti timeline that goes full circle
Here's my theroy
MC 0 is the demon king MC 1 kills him, goes into the past becomes MC 2. If MC 2 Succeeds, the racist group eventually uses him as a reason to genocide the other races which makes him loose faith in humanity and Bacome MC 0 and with the gem he goes back with the goal of eradicating humanity probally with the life force of all the slain races.
BUT!
In this timeline MC 0 has recconised that MC 2 is here and is trying to aide him at worst MC 0 wins in 2/3 melines by aiding him or fro,m him failing. Though helping him ensures more perferable timelines
Demon king is him from a timeline where