take the rap

[take the rap] {v. phr.}, {slang} To receive punishment; to beaccused and punished.

All of the boys took apples, but only Johntook the rap.

Joe took the burglary rap for his brother and wentto prison for two years.