Boeing lost its mojo when it gave the keys to the company to the button down bean counter MBA's from McDonald Douglass right after the merger.
You only have to look at the difference between the 777 program development where the hands on Boeing bosses owned the project to ensure they were going to get a great airplane. Now contrast that to the 787, where the bosses were so reluctant to risk any Boeing money they outsourced everything. That sure worked well
They have already ceded the narrow body and the jumbo market to Airbus and now it looks like the A 350 is going to kick the 787 in the butt.