idiom
beat the rap
सजा से बचना या दोषी ठहराए जाने से बचना
Meaning
to escape punishment or avoid being convicted
Example
He managed to **beat the rap** thanks to a clever lawyer.
एक चालाक वकील की वजह से वह सजा से बच गया।