The SEC's primary goal is to protect investors and maintain market integrity by enforcing federal securities laws and promoting capital formation.