You can have enough power to run lights and such, but not enough output to power a starter. It’s your battery. Use a multimeter to check your battery, if you have one. Even if it reads full, I bet when you try to crank it drops below 9v which means it’s bad.