Maybe, if he had not followed the master up the mountain, if he had stayed in the temple, he would not have met those people and those things.
If he was willing to stay there peacefully, be a carefree prince, and not be greedy for supreme power, then what would happen now? Without him, he wouldn't hate her, let alone lose him by sending her away.
If she didn't listen to the elders and followed that person, would she be happy now? At least, you won't die alone.