Star Wars revolves around personal greed while Star Trek does not.
Depending on what you mean by that, I'm not sure I agree. Star Wars does feature greed as a major motivating force for important political actors; if that's your point, I agree. But I would also argue that even as it depicts that greed, Star Wars regularly critiques that greed. One example: The entire point of Han Solo's arc in A New Hope was him learning to let go of his greed and self-interest and risk his life to help the Rebel Alliance destroy the Death Star. Another example: The entire point of the much-maligned Canto Bight subplot in The Last Jedi was to show how the wealthy elites of the Galaxy Far Far Away perpetuate fascist movements in order to enrich themselves, and to show Rose radicalizing Finn into a position of hostility towards their greed. (There's a really strong anti-capitalist subtext to The Last Jedi, which I love.) Even the first few episodes of The Mandalorian are basically about the title character learning to value the life of Baby Yoda more than the money he got paid to retrieve him for the Imperials.