I think the Buddha is teaching us balance. Any thoughts, even virtuios ones can become harmful if we become obsessive about them or attach to them.