The context of the following conversation is Bailey told about the time they got arrested in order to scare the kids a little so they would behave.:
Bailey says I always tell my kids to behave properly..
The friend responds That’s good. Kids really learn from us adults..
Bailey responds I told him about the time I got arrested..
The friend responds I never knew that..
Bailey responds I thought that by telling them, they would behave..
The friend responds Let's hope it works..