A similar story is of King David and his son, who followed him for the throne. Because David did not go to war, as he was supposed to, he stayed home, and while he was walking on the roof he saw Bathsheba bathing. He ended up in an adulterous relationship with her, and then killed her husband. Again, disastrous consequences followed, but when he repented, God still forgave David and kept His promise.