401(k) or Brokerage?

11/6/23: I currently max out my workplace retirement plan, but should I start only contributing to the match in my 401(k), doing Roth, and put the rest of what I would have contributed into a brokerage account?