You are mostly right, but the UK was extremely stupid to exit EU. They lost free access to their biggest market. And they made it harder and more expensive for their biggest suppliers to sell to them.
Used to work in the Department for International Trade - not a single one of their international trade experts tought Brexit is even remotely a good idea, long, medium of short term.