He committed all the sins his father had done before him; his heart was not fully devoted to the LORD his God, as the heart of David his forefather had been.
NIV
He walked in all the sins of his father [Rehoboam] before him; and his heart was not blameless with the Lord his God, as the heart of David his father [forefather].
AMP
And he walked in all the sins of his father, which he had done before him: and his heart was not perfect with the LORD his God, as the heart of David his father.
KJV
The people rejoiced at the willing response of their leaders, for they had given freely and wholeheartedly to the LORD. David the king also rejoiced greatly.
NIV
Then the people rejoiced because these had given willingly, for with a whole and blameless heart they had offered freely to the Lord. King David also rejoiced greatly.
AMP
Then the people rejoiced, for that they offered willingly, because with perfect heart they offered willingly to the LORD: and David the king also rejoiced with great joy.
KJV
What pleasure would it give the Almighty if you were righteous? What would he gain if your ways were blameless?
NIV
Is it any pleasure or advantage to the Almighty that you are righteous (upright and in right standing with Him)? Or is it gain to Him that you make your ways perfect? [Isa. 62:3; Zech. 2:8; Mal. 3:17; Acts 20:28.]AMP
Is it any pleasure to the Almighty, that thou art righteous? or is it gain to him, that thou makest thy ways perfect?
KJV