Accused stabber wanted to 'hurt some cops'