Eh, you need to double check advice sometimes. Be sure to look at the pages on college websites that list what they require/recommend in terms of high school prep. There’s usually a minimum looked at for math, sciences and foreign languages. For example (notre dame ) https://admissions.nd.edu/apply/evaluation-criteria/ (mich) https://admissions.umich.edu/apply/freshmen-applicants/college-preparation
Hint: when they say “recommended ” or “preferred”,that’s really what you should be aiming at to be a competitive applicant. If your for example accounting class pushes out a preferred high school course in social studies or languages it’s not going to help you.