Research reveals the impact of social hierarchy and early adversity on baboon — and human — well-being.