Interestingly, I'd be forced to take this deal if wiping my memory of it was a side effect of rejecting it.
And when I took it? Yeah, the money would influence me and self interest would shape some of my decisions, but at the end of the day, I have to live with myself. If my decisions aren't also shaped by empathy and compassion for others, then I'd have lost myself.