KJV
His prayer also, and [how God] was
intreated of him, and all his sin, and his trespass, and the places wherein
he built high places, and set up groves and graven images, before he was
humbled: behold, they [are] written among the sayings of the seers.
BSB
His prayer and how God received his plea, as well as all his sin and unfaithfulness, and the sites where he built high places and set up Asherah poles and idols before he humbled himself, they are indeed written in the Records of the Seers.