وَفَّقَكَ اللَّهُ لِلتَّقْوَى
May God grant you success in attaining piety.
Waffaqa is a past-tense verb; Allāhu its subject, -ka its object, and li-l-taqwā names the intended virtue. Literally the wording reports a completed granting of success; in an appropriate setting it means “May God enable you to attain piety.”
The past form is chosen for auspicious expression. Its intended value is a prayer, not a factual certification that the desired result has been attained.