the light passes through the walls

the walls and the ceiling are separate objects. and I have already added extra offset.