Imagine the same company and the same situation, with only one difference: the goods are sold for 8,000 EUR, causing a loss of 2,000 EUR. The sales price is paid immediately:
A bankruptcy has a very simple cause: the company cannot pay its creditors (such as banks, personnel and suppliers) anymore and is unable to convince any investors to put more money into the company. So bankruptcy has everything to do with cash problems. This means that loss making companies can continue to do business as long as there still is cash. Making a loss means that the company’s activities cost more than they generate. As long as these negative internal resources are compensated by external money (equity or debt) or savings (e.g. on the bank account) there are no cash problems and the company will not go bankrupt.