Light bike vs. losing weight

I'm looking at the specs of a few road bikes. Their weights in the range of my affordability are about ~10 to ~11.5 kgs. What's the realistic difference between these bikes all other things being equal?

Also, what's the difference between getting a lighter bike vs. a one X kg heavier and with me losing X kg of weight?