In the episode "Squid on Strike", Squidward decides to strike because of unfair treatment at the Krusty Krab. At first he gets Spongebob to strike with him, despite Spongebob not really being behind any of the policies Squidward wants. Squidward just knows that using Spongebob is useful to him.
https://youtube.com/watch?v=hQFFNTu9Ahg
Squidward starts to radicalize Spongebob behind the cause, turning Spongebob into a fervent follower.
https://youtube.com/watch?v=zJkr5g1ir0c
But in doing so, Squidward realizes that the monster he's created has become a much worse threat than anything Mr. Krabs has done. In fact, the actions he and Spongebob have taken have actually pushed people more towards Mr. Krabs.
https://youtube.com/watch?v=z_-6go-ll9ohttps://youtube.com/watch?v=_OjAPcXrtLw
To put an end to it, Squidward an Mr. Krabs, out of the public eye, negotiate behind the scenes to come up with a solution.
https://youtube.com/watch?v=sF5m-Ay_9X0
What they don't realize is that Spongebob has become so radicalized that he starts doing things that will actually destroy all of them, under the guise of progress.
https://youtube.com/watch?v=CDnNcDE3Lbs
In the end, because of Spongebob's actions, any progress Squidward and Mr. Krabs have made is undone, everyone is worse off than before, the establishment that has been taking care of all of them is gone, Squidward's worst fears have come true and Spongebob treats it as a win.
https://youtube.com/watch?v=C11IA0mJsw0
https://youtube.com/watch?v=00lXDHReDgI