When someone gets a shrift, they receive forgiveness for their sins, usually from a priest.
Getting a shrift is usually a good thing because it means you are forgiven for something bad you did.
Examples:
He goes to the church to get a shrift.
The priest gives him a shrift for what he did.
She feels better after getting a shrift.
He gets a shrift and feels like a new person.
The shrift makes him feel like he can start over.
Getting a shrift is like getting a big hug from the church.