Star Was is by design pretty generic, it's just a generic version of a genre of sci-fi that, outside of Star Wars itself, hasn't really existed in 50 years.

Lucas wanted to do a Flash Gordon movie but couldn't get the rights, so right there its genesis is as a serial numbers filed off version of a different thing. But Flash Gordon is a clone of a clone of A Princess of Mars because any time you hit a desert planet with weird wildlife it's an Edgar Rice Burroughs clone, and indeed a lot of Star Wars is an ERB clone*. This is not terribly obscure. Because most people don't read lots of eighty year old pulp sci-fi, what is somewhat more obscure now is that there was a giant market absolutely packed full of ERB knockoffs, to the point where copy-pastes the ERB versions of Mars, Venus, and the rest of the solar system formed an implied common setting, the way you can have elves and dwarves in a fantasy game today, and everybody knows how those work. This was really big through the 1940s and 50s, tapered off in the 60s, and was absolutely crushed in the 70s when we started landing spaceships on Mars and Venus and discovered that there was absolutely zero chance of weird dying canal cities and steamy jungles filled with monsters and hot native princesses.

Star Wars is basically that, spread across a galaxy**. If you had thumbed through Amazing Stories anytime between like 1930 and its release date, Star Wars would have been very familiar. There's obviously original elements, the Force is a clear transplant of 1970s spiritualism definitely lacking from genre material from the 40s and 50s***, and the details are original to Lucas, but at the core it's a really big budget version of decades of pulp novels and short stories and terrible movies nobody has watched in decades.

Really, one of the reasons I think Disney has struggled to get Star Wars to feel like Star Wars is that it doesn't have this genre in recent memory to draw upon. Rather, the only reference text for Star Wars is... Star Wars. Which is why it feels like the franchise is disappearing up its own sphincter, there's just nothing else around Star Wars like Star Wars so Star Wars just copies Star Wars in a self referential loop as Star Wars is slowly stripped of all meaning by Star Wars Star Wars Star Wars Star Wars Star Wars.

*This becomes 100% overt by the time you get to Geonosis in the PT, the Geonosians just, like, are Tharks.

**Not an idea original to Lucas, Leigh Brackett, who wrote the first draft of the Empire Strikes Back screenplay, did exactly the same thing with The Ginger Star in 1974, even porting her hero Eric John Stark from the solar system to the galactic stage. This doesn't line up with the universe implied by the original Stark stories from the late forties/early fifties, or even solve the scientific plausibility problem because Stark still hails from the planet Mercury. Don't think about it, daddy's gotta choke out this mutant fishman now.

***Which isn't to say these stories were devoid of the supernatural, far from it. They generally lacked the mystical or spiritual overtones of the Force however.