It is God who creates you weak, then gives you strength, then weakness after strength, together with your grey hair: He creates what He will; He is the All Knowing, the All Powerful.
It is Allah Who created you in a state of (helpless) weakness, then gave (you) strength after weakness, then, after strength, gave (you weakness and a hoary head: He creates as He wills, and it is He Who has all knowledge and power.