Discussed here recently, there’s a path from public to private sector that does serve the need to retain talent, to some degree.
Also, to say they are mostly corrupt or incompetent seems possibly too much of a broad stroke that is based on anecdotes. I don’t believe Snowden, for instance, ever suggested either of those are true — did he?
Finally, if this is your assessment, your standard may be unusually high. Maybe your peers, many not quite as good as you, are actually quite skilled? Just a hunch, could be wrong.