Utterly inaccurate.
1. There is no such thing as human nature.
2. Humans are extremely adaptive and as we demonstrated time and again, we can literally change overnight (as the recent pandemic showed - not accountint for many individuals who changed their behaviors overnight and stuck with them). In the current system we have, the biggest obstacle to change is the political will to do so (and that's only the case because people morons keep getting into positions of power and the underlying environment in which we live and work doesn't change).
3. Humans in Trek got rid of the core of their issues (the socio-economic system known as Capitalism and money) in the late 21st century (after WWIII once FC was made) and this would in turn cause different patterns of behavior.
4. You don't need replicators to eliminate scarcity... just sustainable methods for generating abundance (which already existed since 1975 - in fact, in reality, humans have been producing enough food to feed between 12-17 billion people annually for over several decades now, and yet nearly 50% of this if thrown out because it doesn't satisfy the 'aesthetic standards' of supermarkets (there's nothing nutritionally wrong with the produce though), or its given to animals as their feed (which is another unnecessary and wasteful industry that shouldn't exist as it breeds, enslaves, tortures and murders over 70 billion sentient land animals every year - a number which increases to over 1 Trillion when factoring in all the marine life which humans capture as a result of overfishing) - there are many other facts here with which I don't want to bore you with (you can look them up yourself).
To top it off, for every homeless person in USA, there are at least 6.5 empty homes... in EU, there's 3 empty homes for every homeless person. China has built multiple huge cities in less than 10 years which are lying empty because no one can afford to live in them.
C(r)apitalism is extremely BAD at managing Earth's resources. It's utterly wasteful, inefficient, is predominantly based upon competition (when in fact human society and civilization could never have arisen without cooperative behaviors) and as a result it actively generates bad patterns of behavior such as competition, selfishness and greed (all which when combined with existing industrialized education which does NOT expose the general population to basic methods of science, critical thinking or problem solving also results in prejudice, discrimination, making assumption, and heavy biases against other humans and situations.
It doesn't take thousands of years to change human behavior... by changing the environment in which humans live, human behavior follows suit (and very fast)... science demonstrated this time and again... civilization demonstrated with the pandemic.
Like I said, people have extremely warped (and inaccurate) perceptions of human behavior, how its influenced (and by what), and how fast it can change (for good).
Trek was supposed to reflect a better tomorrow... having these kinds of 'petty things' to still exist is UTTRELY UNREALISTIC for Trek and it just injects more current day nonsense into Trek.
The good thing about this is that LD is a comedy... and while canon, not everything shown should be taken at face value because its ofter exaggerated.