This is a very interesting topic to me. Decades ago, Carl Sagan had published an equation which demonstrated that there would be a large number of intelligent species in the universe. Which then brought up the Fermi paradox.
I think maybe 10 years ago (don’t hold me to that), a group of scientists revised that equation. Turns out there are many things missing from Sagan’s original work.
Type of star.
The type of star matters. Too big and there would be just too much radiation. Too unstable then solar flares, CME, etc would wipe out any life developing on a nearby planet. You need a small, stable, long living star like our sun. With all the searches from Hubble and Webb we know that our sun is a rare object.
Size of planet.
Too small of a planet and it will not hold on to its atmosphere. Think Mars. Too large and it restricts the size and complexity of developing life. Too much gravity. Many “super Earths” have been found, but very few matching our size.
Type of solar system.
Having several gas giants in the outer system creates a shield for the inner planets. They absorb a lot of incoming debris from further out. Constant meteor bombardment is not good for developing life.
Evolution.
95% of the species that have ever inhabited this planet are extinct. Reptiles, giant insects, dinosaurs, have all had runs much longer than our current history. It’s all a race against time that others have lost and we are just starting our run.
Do I believe there is other life out there? Of course. And a very small number of that will even be intelligent. But sadly, I do not think we will ever get to experience the cantina scene from Star Wars any time soon.