Given a sentence in Tagalog language, translate the sentence to English language keeping the meaning of the original sentence intact.
Q: Tagalog sentence: At habang kaniyang hinahanap ang Panginoon, pinagiginhawa siya ng Diyos.
A:
...And as long as he sought the Lord, God made him to prosper.