no idea what to do

i’m a freshman majoring in accounting because idk what else i’d be good at. it’s my second semester and i have a D in math and just failed my last accounting test before finals. my accounting grade was fine before, but now i’m definitely gonna have a C or a low B. i’ve never done this poorly in school and idk how i’m gonna follow through with accounting because i don’t even like it. idk what i can do that I’ll enjoy, be good at, and make a decent living. i’m scared and hopeless and really just looking for encouragement. if anyone else is going through something like this, or has been through something like this..... how are you staying afloat? how did you make it? i’m just having a mental breakdown tbh.