It is a good decision. I know a person who went to
UMD for undergraduate study since his father didn't need to pay money at all and went to H for graduate study where he was a TA and didn't need to pay anything. After H, he got a job as assistant professor.