How Beliefs Influence Behavior