‏ 2 Samuel 12:11-12

11Thus says the Lord, ‘Behold, I will raise up evil against you out of your own house. And I will take your wives before your eyes and give them to your neighbor, and he shall lie with your wives in the sight of this sun. 12For you did it secretly, abut I will do this thing before all Israel and before the sun.’”
Copyright information for ESV