The King James Version Bible

Sirach 49:3

3 He directed his heart unto the Lord, and in the time of the ungodly he established the worship of God.