He worshiped God during the lifetime of Zechariah, who taught him to respect God. As long as he followed the Lord, God made him successful.