If you are not going to practice law, then you don't need to pass the bar exam, although most people who get a law degree do go on to take the bar exam I at least one state.