I will stay.
Need to separate a job from personal feeling and emotion.
You and D can still be a friend after working hours, but in a workplace, you have to listen to your boss's every word.
If you don't like your boss, change a job, but bosses are all the same.