If you go through your leadership career wondering "if only I'd been stuck with a better team of developers - we'd do much better" - you're doing it wrong.
Management - done right, is a tough job. That's why you get paid more. But some managers prefer to go through life taking the money and not doing the hard work. (loosely quoting Jerry Weinberg).
Take a hard look in the mirror --
Your job as a leader and manager is to turn your team into a team you can be proud of.
If you easily resort to getting people out of the team - you're not doing your job.
Grow them -- invest time and effort. Do the hard things and the things that scare you.
PS
The title is from this book. it's not great, but the title is very nice.