Disclaimer: Against my better judgement I’m a pretty big 40k fan even though I realise the fanbase is painfully infested with chuds and a lot of the content enables that.
Like the book took pains to make Inquisition or Space Marines or whatever seem as cool as possible, not ridicule them.
Interestingly from what I understand the earlier portrayals of Space Marines (going back to Rogue Trader, which was a D&D like tabletop game that I believe was the first ever 40k thing) were a bit better for this - They were roided out fascist thugs who were good at slaughtering targets softer than themselves but prone to hubris and fanatacism that would often get them killed in droves for basically no reason. There was a lot more lore about how the Imperium was barely functional and the cause of a lot of it’s own worst problems, too.
Unfortunately I think GW realised that dorks who loved the Empire were a good market so they gradually revised Space Marines to be perfect badasses (something that’s only gotten worse recently with the Primaris Space Marines who are basically Space Marines but with a tacticool aesthetic and with any interesting facets about how they can turn against the Emperor ironed out) and made the Imperium seem more functional. By and large in regards to Warhammer 40k related media it kind of depends on who’s writing it. Obviously being a Capitalist product a lot of the lore serves to sell overpriced miniatures too which probably stifles some of the creative intent behind it.
I guess ultimately it’s good that GW put this message out, although I can’t help but feel like they also massively enabled the worst parts of their fanbase with all the "Purge the Xenos the Emperor protects bolter porn blah blah blah :le-pol-face: " shit lmao
When handled by better writers very much so, but I've seen a lot of cringe "The Empire is super evil but it's the only thing stopping humanity from being wiped out" bs before