We hear it all the time:
"The people are more important than the product",
"I'd rather invest in an A-team with a B-opportunity, than a "B-team with an A-opportunity"
It's all true and here is one of my favorite quotes on the topic:
"You hope you don't hire anybody who is stupid, but if you do, pray that they don't have a lot of energy."
Roberto Goizueta, Former CEO of Coca-Cola, who passed away in October 1997
On a related note, here is a great post on the goal of many companies to implement a "No Assholes" policy.