Deputies: Stabbing suspect planned attack