you didn't have to
You weren’t supposed to go there.
No tenías que venir a la oficina hoy.
You didn't have to come to the office today.
You didn't have to do this.
No tenías que haber revelado el secreto.
You shouldn't have revealed the secret.
You didn't have to do that.
No tenías que venirte tan pronto.
You didn’t have to come so soon.