Obama is not a brown-skinned anti-war socialist who gives away free health care. You're thinking of Jesus.
It's a clever saying, but Jesus frowned on forcing one's views on others, not to mention taking things from people by force. Thus he was not a socialist.
Voluntary charity? He was all for it. Submitting to an oppressive government? His own advice. Using government to oppress others? Not his cup of tea.