It means that divine counsel reached the deepest parts of David’s being and settled there, correcting his innermost thoughts and emotions.
Artinya, nasihat ilahi mencapai bagian yang terdalam dari diri Daud dan tetap berada di sana, mengoreksi pikiran dan emosinya yang terdalam.