Yes God hates divorce and I think Michal wasn't a real follower of God when she divorced King David to marry another man, but clearly King David's marriage to Ahinoam after being divorced by his first wife, was not adultery but a valid marriage.
https://steemit.com/christianity/@biblenerd/king-david-remarried-after-divorce-by-first-wife