1 Kings 3:10

ESV
It pleased the Lord that Solomon had asked this.