Commentators explain that David's invitation for Uriah to stay another day was not an act of kindness but a calculated part of his cover-up. Having failed to get Uriah to go home, David keeps him at the palace to try another method to conceal his sin, demonstrating how one sin leads to a web of ongoing deceit.