The phrase "to climb the ranks" means to gradually rise to higher positions or achieve higher levels of success within a group or organization.