The pier was much worse than a grift for military contractors, it allowed America and Israel to spend months pretending that a solution to famine was just around the corner, that they were working in good faith to prevent starvation. It filled exactly the role it was intended to.
That purpose being extending the genocide as long as the world will accept, to remove as many Palestinians from Gaza as possible by killing or expulsion.