I've always believed that David and Bathsheba was a film originally intended for Tyrone Power at 20th Century Fox, although Gregory Peck does give a good account of himself as King David, the monarch with a wandering eye.
A whole lot of biblical subjects get covered in this film, adultery, redemption, sin, punishment and generally what God expects from his followers.
When you're a king, even king in a biblically prophesied kingdom you certainly do have a lot perogatives not open to the rest of us. King David has many wives, including one really vicious one in Jayne Meadows who was the daughter of Saul, David's predecessor. But his eyes catch sight of Bathsheba out in her garden one evening. Turns out she's as unhappily married to Uriah the Hittite as David is to quite a few women. Uriah is one of David's army captains. David sends for Bathsheba and him being the King, she comes a runnin' because she's had her eye on him too.
What happens, an affair, a pregnancy, and a carefully arranged death for Uriah in a battle. But an all seeing and knowing Deity has caught all of this and is not only punishing David and Bathsheba, but the entire Kingdom of Israel is being punished with drought, disease, and pestilence.
The sexist law of the day calls for Bathsheba to have a stoning death. David shows weakness in his previous actions, but here he steps up to the plate and asks that the whole thing be put on him. He even lays hands on the Ark of the Covenant which was an instant death as seen in the film.
My interpretation of it is that God admires guts even if you're wrong and he lets up on David and forgives them both. Bathsheba becomes the mother of Solomon and she and David are the ancestors of several successors in the divided kingdoms of Israel and Judah until they're both conquered.
Susan Hayward is a fetching Bathsheba caught in a loveless marriage with Uriah played by Kieron Moore. The only thing that gets Moore aroused is a good battle. I liked Kieron Moore's performance as a brave and rather stupid horse's rear.
No one can lay the law down like Raymond Massey. His Nathan the Prophet is in keeping with the John Brown character he played in two films, same intensity.
So when His own law called for death, why did God spare Bathsheba and keep David on the throne. Maybe it was the fact He just didn't want to train a third guy for the job. He'd replaced Saul with David already.
But I think the Christian interpretation might be that this was a hint of the New Testament forthcoming, that one might sin and receive mercy if one asks for it penitently. I'll leave it to the biblical scholars to submit interpretations.
Watch the film and you might come up with an entirely new theory.

Watched this with my girlfriend after stumbling over it while zaping channels.
I guess we both hoped for some kind of happy family cute Christmas movie, but were extremely disappointed.
the actor playing the soldier, seems to have 0 emotion whatsoever, his face looks the same, whether he's chopping down Christmas tree's, seeing the girl he loves being kissed by her boyfriend, or when he's happily surprised by the girl he loves, he's an awful actor, and at no pont did any of us do nothing but laugh at him.
Then there's the cute blond girl, blessed with the ability to count dot's and cheat on her boyfriend, what a catch! and her ambition in life is to live with her parents and count more dots.
So it's basically a story about a guy without any emotion or feelings who falls for a guy who count dots and cheats on her boyfriend, it's as predictable as it get's, and really a waste of time, you gain nothing by watching this, other than some weird laughs, because it's all so corny.
I love it when her dad says that he only eats french fries and not french wine, and they all laugh, that's the hillbilly attitude this movie is about, furthermore, if my girlfriends dad were bossing me around like, i'd tell him a thing or to, but not our army veteran, no sir, he let's everyone boss him around.
The movie is what First Blood would have been, if John Rambo were burn like the biggest wimp in the world.