Then maybe you shouldn’t have done it at all. It’s not like the world asked or imbued you with the responsibility for that investigation. It’s not like it was imperative to get to the bottom of this and you were the only one able to do it.
Your defence is analogous to all the worst tech bros who excuse their bad actions with “if we did it right/morally/legally, it wouldn’t be viable”. Then so be it, maybe it shouldn’t be viable.
You did it because you wanted to. It was for yourself. You saw Pike’s reaction and deliberately chose to be complicit in the use of technology he decried, further adding to his frustration. It was a selfish act.