Is higher prestige for undergrad worth the cost if I plan on doing a PhD?

It’s more whether I would be able to afford it. To clarify the monetary situation I would be paying 1/3 of the ticket cost with any scholarships going towards my third and my parents pay the remaining amount. RPI offered me a little more than half of the total amount (~35k scholarship with a ~75k ticket price) while at UoM I will be getting nothing since it’s international and they cost ~$45k per year so I would have about $60k of debt personally.