"The Banking Act of 1933 effectively separated commercial banking from investment banking and sought to restrict the diversion of bank credit into speculative activity."
Federal Reserve History explains that Glass-Steagall separated commercial and investment banking and was motivated partly by a desire to restrict speculative uses of bank credit after the 1929 crash and banking crisis.
View Source