 Financial markets are set to close a difficult year amid the war in Ukraine, pandemic aftershocks, and inflation-eroding purchasing power. As always, the first rule for every investor is to try to survive and avoid making mistakes that could prove fatal. 