Divine Sense can only see through a wall if the target has part of their body protruding from the wall. Divine Sense is limited by “total cover,” meaning an obstacle completely obscures the target. So if a target is completely behind a wall, Divine Sense can’t see through it. If a target is partially visible, Divine Sense can sense them.