There is good magical effects: there is nothing inherently questionable about healing magic, protection magic, noninvasive divination (ie augury), certain transmutation like fly or expeditious retreat, benign spells like light or creation spells like create water or fabricate. They are the hammers that can be used wrongly, but with used correctly are beneficial to people. This is compared against a spell like charm, hold or detect thoughts where even even used for noble cause, the spells effect are themselves problematic. There is argument as to whether such uses can be justified, but the action itself is never benign.
D&D magic is overwhelming in that latter category.