The maximally unequal society of Hunger Games is resolved via a violent revolution in favor of more egalitarian values. Same with Divergent. Star Trek Discovery is about a sexually and ethnically diverse crew somehow (in a future that was supposed to have solved these things) facing bigotry and solving it by simply applying or arguing for the "morally correct" values they already have. In Foundation, enlightened technocrats shorten a regressive civilizational collapse and return to "upward" progress by literally tricking the surrounding cultures into the Foundation's value judgment of the "correct" path (very VERY State Department of them). The Expanse is a TTRPG novelization and subsequent TV adaptation where a near-literal paladin (Holden) applies enlightened egalitarianism, diplomacy, and pacifism to stop an interplanetary faction war.
ALL of the specific stories you mention feature extremely strong Whiggist storytelling, and further than that, Isaac Asiimov (author of Foundation) was a famously outspoken activist for enlightened, Whiggist, progressive, technocratic ideals. Many peoples' first introduction to these ideas was Star Trek, though modern Trek handles its themes with all the subtlety of a mace.