What is the goal of a Chapter 7 bankruptcy?

The primary purpose of bankruptcy under Chapter 7 is to help you keep as much of your exempt property as possible while discharging as many of your debts as possible.