He did what the LORD approved, just as his ancestor David had done.