ようなことはしない

would never do such a thing

→ よう
phrase Rare #26,558
would never do such a thing Used to strongly deny or prohibit doing something like the action described before ようなこと. Often translated as “would never do something like that” or “don’t do such a thing.”
JA: 大切な人を傷つけるようなことはしない。
EN: I would never do something like hurt someone important to me.

彼はうそ付くようなことはしない

He isn't the kind of person to lie.

他の女性を追いかけるようなことはしない

I won't do anything like chase after other women.

— 甘い生活 (1960)

貧乏だけれど彼は嘘をつくようなことはしない

Although he is poor, he would never do something like lie.