I am certain the game is meant to impart the impression that the Pale King was a monster. As pointed out in another comment, he is very much an Ozymandias. ("Beyond lies the last and only civilization. Hallownest", and it's dead), and that is the throughline of most of the game, between the vessels, the dreamers, the closure of the kingdom and capital, the failed expansion into Deepnest, the missing palace, the desolate roads and overgrown gardens, so on. PK was a failure, and the story doesn't shy away from it ("No cost too great", he thinks to the last).
Despite what you said in another comment, the "good" ending isn't a celebration of monarchical achievement, but the opposite -- only by rejecting the King's scheme, symbolized by the Kingsoul transforming into the Voidheart, remembering his sins and uniting the Void (in a way, the last frontier of his colonialism -- an amorphous essence that he imposed both shape and identity onto) can the Radiance - herself a violent Reaction - can be defeated, the Siblings find peace and the Void return to its natural state, freeing Hallownest to become something new.
The Knight also has the option of perpetuating the kingdom, which is a failed prospect, one Hornet steers them again. Accepting the king's bargain to save the present for the second time is merely dooming the future. The Hollow Knight's sacrifice is rendered meaningless, as is the Knight's.
More materially, every tribe he came in contact with chafed against him: the deal with the Mantises, the begrudging acceptance of his rule by the Shrooms, the entire Deepnest situation, the Hive maintaining independence, the Mosslings agreeing only to the construction of the Pilgrim's Way. The "Light of civilization" was resisted at every turn by everyone not directly under his rule, and few are worse off as a result. The Mantises in particular maintained their way of life, even faced with the catastrophe of the Infection. Only the traitors, who desired power, succumbed to it. (and why would you want power if not to lord it over others?)
Lastly, his kingdom was rife with class antagonisms: the exploitation of the maggots, the divisions within the capital, the mass killings in Soul Sanctum, Xero's assassination attempt on the king. Hallownest is not, in my opinion, portrayed in a good light -- it is an aristocratic, oppressive and colonialist state that ages ago collapsed under its own weight and its God-King's negligence and preconceived notions. He is a liar, a fraud, an autocrat and oathbreaker who doomed his people and many others. The game, textually, symbolically, and mechanically via the Voidheart, rejects his prepositions and accepts a different future.