2 Chronicles 19:3-4 Nevertheless there are good things to be found in thee, in that thou hast taken away the groves out of the land, and hast prepared thine heart to seek the Lord. And Jehoshaphat dwelt at Jerusalem: and he went out again through the people from Beer-Sheba to mount Ephraim, and brought them back unto the Lord God of their fathers.
Jehoshaphat, the good king, was not perfect before the Lord, but the prophet here tells him he did many good things for which he is to be commended. But the first and most important thing he did was prepare his heart to seek the Lord. This led him to get rid of the pagan idol worship sites. Then he went out among the people of the kingdom to spread the faith and bring them back to the Lord.
Jehoshaphat got his heart right with God first and then he took action against false gods, and then he went out among the people to preach Law and Gospel to bring the people back to God. The result of his faithful heart and leadership was a time of peace and prosperity in the kingdom of Judah.
God blesses the heart and the life of those who prepare their heart to seek the Lord and put Him first. Out of a good heart that has responded by faith in the gospel comes a good life and a positive influence. Seed down on prepared soil yields abundant fruit.