Thank you for the question, “What sins did King David commit in order to marry Bathsheba?”
The sins of King David are as follows:
- King David coveted another man’s wife (II Samuel 11:2–3).
- King David committed adultery with Bathsheba (II Samuel 11:4).
- King David committed the murder of Uriah and cost the needless lives of other soldiers (II Samuel 11:14).
- King David committed false testimony by hoping that he would return home and be intimate with his wife to cover-up his adultery (II Samuel 11:10).
- King David gave false testimony by portraying that he was the good king who married a widow (II Samuel 11:27).
Lest one be too harsh with King David, we are guilty of many of the same sins of King David except that ours are not known to others for the most part. God looks at the heart and see what is in it.
SUMMARY: King David violated the horizontal aspects of the Ten Commandments.
For more perspectives:
https://www.quora.com/What-sins-did-King-David-commit-in-order-to-marry-Bathsheba