A MAN suffering from ‘dark’ and ‘intrusive thoughts’ took a knife to his ex-partner’s flat intending to kill her because he believed she had ‘taken everything from him’, a court heard.