I think you are very fortunate. I have worked with plenty of software developers like that, in fact, the overwhelming majority of them have been like that.

Then I was not the smartest person in the room could be the other possibility.

And yes, there were always incompetent folks but those were steered by smarter ones to contain the damage.