ようなことはしない

wouldn't do such a thing

→ よう
phrase Rare #34,717
wouldn't do such a thing Follows an action or description to say that someone would not do something like that. The verb する can change form depending on the sentence.
JA: 彼は友達を裏切るようなことはしない。
EN: He wouldn't do something like betray a friend.

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

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

— 甘い生活 (1960)

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

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