Many people think that math is the only form of logic or the purest one, but math is just one of many different ways to think logically. Computers and machines focus primarily on machine logic, iteration, electricity, etc. Programming is highly logical but it's not a branch of maths by itself.
What to expect: If you do computer graphics, data analysis, LLM, etc, you will use a decent amount of maths, not because of programming itself but because of your field. If you don't work on a math-heavy field then you won't do much maths besides arithmetics, though something that sticks is the declarative mindset of maths. Computers are inherently procedural, but in functional programming you think in a declarative way. If you like that then that's alright and if you don't then that's alright too because there are plenty of traditional languages and machines themselves are not declarative.