By a skillful parable Nathan enables David to see what he has done and predicts that this breach of shalom will haunt David's house for generations to come (2 Samuel 11 - 12).
In this he stands squarely in the prophetic line; we remember their constant predictions of wars in which Yahweh would fight against Israel, or against the nations, as a punishment for their breaches of shalom.