像 + Reference + 那样
The word 那样 (nàyàng) means 'in that way' or 'like that' and is used to refer to a manner or degree previously mentioned or implied. It often pairs with 像 to form the construction 像...那样, meaning 'just like...' or 'in the same way as...'. This structure draws a comparison between two actions or states.
你不要像他那样说话,太不礼貌了。
Nǐ bùyào xiàng tā nàyàng shuōhuà, tài bù lǐmào le.
Don't talk like him; it's too impolite.
我希望能像她那样自信地面对困难。
Wǒ xīwàng néng xiàng tā nàyàng zìxìn de miànduì kùnnán.
I hope I can face difficulties as confidently as she does.
那样做只会让事情变得更糟。
Nàyàng zuò zhǐ huì ràng shìqíng biàn de gèng zāo.
Doing it that way will only make things worse.