Picard finding a way to bring the android society that was thought to only be a threat and was being exterminated into a union with the Federation was just an update of the Horta story.
That the future has old people and they’re valued should be seen as some of that hopeful future and egalitarianism. Unless ageism is what you’re seeking in that future.