If lawsuits against assault are applicable when checking into a motel, should they not be even more applicable when someone is sent to prison?

If lawsuits against assault are applicable when checking into a motel, should they not be even more applicable when someone is sent to prison?

The Eighth Amendment to the United States Constitution reads as follows: “Excessive bail shall not be required, nor excessive fines imposed, nor cruel and unusual punishments inflicted.” Rapes, stabbing, etc. are cruel and unusual punishment.

A woman checked into a hotel and was raped in her room. Because the hotel didn't protect her, she sued and collected a large sum of money. That and other similar rapes in hotel room and the very large judgement is the reason hotel have programmable card keys instead of keys.

The same principal should apply in prisons. If a state locks someone up, the state, the warden, and the guards have an obligation to protect the prisoner from assaults. Prisoners that are raped or assaulted should be allowed to sue and collect from the state, the warden, and the guards larges sums of money. After a few million to hundred million dollar judgments and prison assaults would seldom if ever happen. Even a hundred thousand dollar judgement against a guard would be sufficient so the guards would not allow the assaults to happen. Instead of paying ten million dollar judgments if necessary the state would stop putting prisoners in danger.

If lawsuits against assault are applicable when checking into a motel, should they not be even more applicable when someone is sent to prison?
Post Opinion