2 Samuel 13:18

And she had a garment of divers colours upon her: for with such robes were the king’s daughters that were virgins apparelled. Then his servant brought her out, and bolted the door after her.

The verse belongs to the account of the shameful, incestuous crime of Amnon the first-born against his sister Tamar, an adulterous act made doubly guilty by its unnatural character and punishable by death under the law. It stands within the longer history of 2 Samuel 13:1-29, where that crime is followed by revenge and judgment. David, self-condemned by his own sin, permitted the crime to pass unpunished and unrebuked and failed to bring the offender to justice. In this way the history shows his own wrongdoing bearing bitter consequences within his family.

Absalom, the natural protector of the sister so foully wronged, concealed his purpose of revenge for two full years only to strike more surely. At the feast of the king's sons the drunken Amnon was slain by his brother's command in vengeance for Tamar. With that slaying of Amnon, twofold judgment had been meted out to David according to his own sentence.