Yep.
Except for one teeny weeny insignificantly minor detail: these things have nothing whatsoever to do with the EU, and everything to do with the austerity/de-industrialization policies of neo-liberal UK governments, primarily Tory, but to a somewhat less extent also New-Labour.
And the EU was, if anything, a counter to those forces, with structural funds, with labor standards, with investments by non-UK firms in the de-industrialized parts of the UK for access to the common market etc.
And leaving the EU will make these things worse.
So voting against the EU to protest these conditions is not even cutting off your nose to spite your face, it's cutting off your nose to spite someone else's face!
While it deserves the word "pathetic" I can't bring myself to it. It really is just sad. Very, very sad.