“to another.” the Hebrew word is often translated “neighbor,” but it can also have the meaning of “another” person, which is the meaning it has here. In this case, the “other” person was David’s own son, Absalom.
“in the sight of this sun.” An idiom meaning in broad daylight; in public view. This prophecy was fulfilled when Absalom slept with some of David’s wives on the roof of the palace in full view of the people (2 Sam. 16:21-22).