Some achieve greatness by their deeds / what they made or their actions that made a mark (which are, of course, their great deeds). Some already have greatness thrust upon them, like queens and kings or their daughter/son who were born and instantly great.