Help for someone with a ~3.5 GPA?

Will taking those advanced math really lower the significance of a lower GPA (Assuming I will get all A’s in them next year)? I was under the impression that GPA was the #1 factor (or close to it)