There is absolutely no conflict between doing good science and being kind to people with whom you work, and this includes not only colleagues and students, but also administrative staff and everyone in an academic ecosystem. The below linked article makes a good case for this point.
It also derives some relevant lessons from philosophy which can be applied to academic environment. Worth reading…if you have access
https://www.cell.com/trends/cell-biology/fulltext/S0962-8924(21)00229-4