such a thing
Fue una tontería de su parte hacer tal cosa.
It was foolish of him to do such a thing.
Me alegro de no haber comprado tal cosa.
I'm glad I didn't buy such a thing.
Ella no pudo haber hecho tal cosa.
She couldn't have done such a thing.
Yo también pensé que había ángeles, pero no había tal cosa.
I also thought there were angels, but there was no such thing.
— Salyut-7: Héroes en el espacio (2017)
He denied having said such a thing.
No creo que valga la pena hacer tal cosa.
I don't think it's worth doing such a thing.
Solo un esclavo diría tal cosa.
Only a slave would say such a thing.