King David sinned gravely in connection with Bath - sheba, the wife of Uriah. Having seen this beautiful woman bathing as he looked down from his nearby rooftop, David had her brought to his palace and had sexual relations with her.
وَلَاحِقًا ،‏ عَلِمَ أَنَّهَا حُبْلَى فَخَطَّطَ لِجَعْلِ زَوْجِهَا أُورِيَّا يَضْطَجِعُ مَعَهَا لِإِخْفَاءِ خَطِيَّتِهِ .‏