发迹 specifically means rising from humble or obscure origins to wealth or power. It implies the starting point was low (
无名之辈, an unknown person) and the achievement is notable. It is more formal and literary than
发财 (fācái, to get rich), which focuses purely on financial gain.