One of the worst engineers I have ever worked with was also one of the brightest people I have ever worked with.
In many ways how bright he was got in the way of him being a good engineer. Not because intelligence is necessarily a detriment, but because when you can keep 60k lines of source code in your head you don't _need_ to think about many SE practices until it is too late to apply them.
An engineer who cannot or will not do that needs to build the software accordingly.