>>212665905 (OP)
Why do people think he was always working for the Resistance? He clearly states his reason that he doesn't care if they win but rather wants to see Kylo Ren lose and chose the best option. He just turned on the FO because he wanted to be in power after Snoke died.