Huh? Lifting for an hour burns a comparable amount (around half as much) of calories to jogging for an hour and is not only more sustainable for a beginner, but helps build muscle mass which makes losing fat exponentially easier.
I guess you could argue that it doesn't have all the cardiovascular benefits, but the usual definition of "in shape" isn't exclusively cardio-fitness. Just do whatever exercise suits you best that you are most likely to devote time to.