Between wp8 and WM10, they merged the phone team with the regular OS team, and eliminated (or at least gutted) their QA teams, and they decided to target the high end market only. There were no low spec WM10 phones, and there hadn't been many high end buyers anyway, so who was going to buy WM10? And upgrading to WM10, when available, was often a bad experience.
Also, mobile Edge had a nicer renderer than mobile IE, but it was sooooo much worse UX (laggy, slow, navigation buttons went into some sort of button press queue to be resolved seconds later). When you've driven away app developers, ruining the browser isn't a good choice.
So, it's not that you needed more money (although I'm sure it would help), you also need to not abandon the market niche you found in search of an unobtainable, but potentially more lucrative one, and you need to make releases be consistently better each time. (It would also help if one of the big players stumbled, but you can't count on that).