The sin of David did not go unnoticed. God saw every act and every motive, making it known to Nathan the prophet. Nathan, grieved by the sin of his friend, went to confront the king about this and shared with him a parable. When the king realized he was the villain in the parable, he broke down in tears and repentance, acknowledging his sin against God. Though God would not let this sin go unpunished, God promised that He would restore him.