It runs the other way, too. Technology that is seen as for "bad" purposes can be used for "good". Like if some IT technology was developed for a perceived bad, like military uses or for pure profit, it may also be used for perceived good.
Or more subtly, technology developed for perceived "useless" ends can be used for good. Eg tech advances made for gaming that help push forwards the state of the art.
Or more subtly, technology developed for perceived "useless" ends can be used for good. Eg tech advances made for gaming that help push forwards the state of the art.