"He didn't [do X] to be seen as a good man" is generally used in the sense and understood to mean "he did do X for a different reason than to be seen as a good man".
To say he wanted to be seen as a good man and therefore didn't do X, more common phrasings may be:
"Because/as/since he wanted to be seen as a good man, he didn't do X."
"He didn't do X as/since he wanted to be seen as a good man." (Note that here, "because" would be ambiguous.)
"To be seen as a good man, he refrained from doing X."
The sentence in your question, though, is quite odd because receiving things usually isn't a deliberate action. It's passive, something that happens to one from outside. Off the top of my head, I can't think of a context in which that sentence would make much sense.
"I didn't get this spam in my mail to be seen as a good person."
"I didn't get a birthday present from a friend to be seen as a good person."
...Well obviously not, I had no intention in those events at all, they were imposed on me by someone else. If I have any reason to say something like this, I must be very sarcastic.