My advice would be to go for it!
Math and chem can be hard but just lean on the resources that are there to help you a lot. (Study groups, tutoring centers, etc.)
You can definitely do well in those classes if you put in the effort.
Worth noting: there’s a good book by the biologist E.O. Wilson called letters to a young scientist and he talks about how he didn’t even learn a lot of the basic math that other scientists have until he was already a professor and how struggling with that skill shouldn’t stop anyone from pursuing a career in science (or relating to it).