The Suits ending featured an emotional finale in which Harvey Specter and Mike Ross performed one final con. After Faye fired Samantha and hired Harvey to defend the firm in the wrongful termination lawsuit set up by Mike, the Suits characters realized how delicate their situation was. Saving Samantha could mean the end of the firm, yet protecting Faye meant exposing someone they all cared about. Suits finale saw Harvey and Mike on opposite sides of a lawsuit until they realized they were one con away from beating Faye.
https://screenrant.com/suits-ending-explained-la-spinoff-setup/