This series feels somewhat similar to a fantasy story informed from the perspective on the vile and ability-hungry evil king who would commonly play the Element of the villain.
This is basically Hornblower meets https://leaates826831.laowaiblog.com/29597655/5-essential-elements-for-young-adult-fantasy-book