GE Washer wont spin

Water fills up and drains fine. I hear the motor running to make it spin but it’s not spinning at all. I opened the front of the washer and checked the bottom belt. It is attached but doesn’t spin. Not sure if this is because the tub isn’t spinning though. What could be my problem?