He looked to his God. He worked for him with all his heart. That's the way he worked in everything he did to serve God's temple. He obeyed the law. He followed the LORD's commands. So he had success.
in all the religion of the service of the house of the Lord, by the law and by the ceremonies; and he would seek his Lord God in all his heart, and he did so, and had prosperity. (in all the work of the service of the House of the Lord, and by the Law and the commandments/and by the Law and the statutes; for he sought the Lord his God with all his heart, yea, he did so, and he prospered.)