Summary
This quote suggests that the speaker has done something negative to someone they cared about. However, the intention behind their actions was to protect the person from potentially being harmed by someone else. Despite their negative behavior, the speaker's motive was driven by a desire to prevent further harm.