2 Chronicles 25:2

And he did that which was right in the eyes of Jehovah, but not with a perfect heart.