Which chapter is the one where he used the star or something to see another timeline and then he saw his friend there looking gloomy because he saw the future of what will happen then died so the MC can return back to time.