"Every great religion in the world -- Christianity, Judaism, Islam, Buddhism --essentially comes to do unto others as you would like them to do unto you," he said during CNN's Democratic town hall event on Tuesday night.
Citing his early support of the civil rights movement, he said, "I believe that in my whole life, that we are in this together. The truth is, at some level, when you hurt, when your children hurt, I hurt. And when my kids hurt, you hurt."
Though Sanders was raised Jewish and believes in God, he identifies as a secular rather than a religious Jew. He doesn't often address his religion, and The New York Times notes that he sometimes even shies away from using the term "Jewish."
But asked about his faith on Tuesday,
"It's very easy to turn our backs on kids who are hungry or veterans who are sleeping on the street, but I believe that what human nature is about is that everybody in this room impacts everybody else in all kinds of ways that we can't understand." he said. "That's my religion. That's what I believe in."