Assuming one is using "magic" to mean "supernatural phenomena that is not caused by God or His will," magic is something caused by demons, but science is caused by humans. You shouldn't be controlled by or devoted to anything other than God, and that includes science, so even though science is useful, you shouldn't obsess over it (being well-rounded is good for you anyway, if you obsessed over anything but God, you'd end up as a sperg).
But what do I know about science? I'm trying to earn a B. A. degree right now in Computer Science.