Is it better to buy a lighter bike or lose body weight?
Focus on your body weight and 'system weight' first, as it's much cheaper than buying new gear. Dropping 1 kg of body fat has the same physical effect on a climb as spending thousands on a featherweight carbon frame or wheels.