idiom
beat the rap
逃避惩罚或避免被定罪
Meaning
to escape punishment or avoid being convicted
Example
He managed to **beat the rap** thanks to a clever lawyer.
他凭借一个聪明的律师成功逃避了惩罚。