She says this in the game:
The apprentice must kill the Master - if you do not, I will kill you. If I do not, then all you have achieved will be as nothing, as empty, and as violent as Malachor itself.-- Knights of the Old Republic II: The Sith Lords
From the game files:
Then you will break. {Beat}And then, my apprentice, you shall die.-- Knights of the Old Republic II: The Sith Lords
And besides, all of who you genuinely believe that Traya wanted to kill the Force - she needed to kill the Exile in the Trayus Core for that to happen.
https://youtu.be/M1aDMnh1ksE?t=172
And yes, that's vanilla KotOR II.