I know this sounds silly but hear me out. I'm a second year uni student intending to major in physics and I was going fine with physics until the start of the year when I encountered Atomic, Nuclear and Condensed Matter Physics(ANCMP). I tackled it again and again dedicating long periods of time to studying it but it just didn't stick in my head. I just couldn't do it. The other half of the course was quantum mechanics which I was fine with and was a shining moment for me in my time doing physics. The ANCMP exam came along and I just crashed I completely messed it up and I was afraid I was going to fail the class. To cut a long story short: I did. This was a huge blow the gut because I used to be so confident in my physics and this has just lowered my self esteem. So now I'm wondering if it is still worth pursuing an undergraduate degree and then higher degrees physics? I appreciate any opinions/advice you guys have Thanks. Edit: I should add that I've applied to do a supplementary exam because I was extremely close to passing and the ANCMP was a majority of the marks for the course.