Not at all. As your image indicates, a straw man must be a misrepresentation of the argument, I didn't misrepresent your argument at all. What I used is the logically valid form of argument called reductio ad absurdum.
I'm assuming, since you chose to falsely cry straw man rather than defending your position, that you recognize the absurdity of your stated moral principle but had too much pride to admit you were wrong.
That's fine, I think we can agree that motives do sometimes excuse an action and move to the next step. So, why do you feel that motive can't excuse this particular action?
Note, that's different then analyzing what the motive is. I would agree, for example, if the motive was to make himself look like a good VA secretary then he is a scumbag and should be fired. The question, here, is IF his motives were solely based on a compassionate desire to make the person he was talking to feel better, why would that call into question his ability to serve as secretary of the VA?