I think you made a wise decision. For med school, engineering, or PhD, I’d strongly urge UCSD for free (assuming that you can keep the high GPA required for the Jacobs).
For slacker types and those interested in finance or consulting, paying up for Duke/Dartmouth may make sense.