Yes, the sentence is grammatically correct. It conveys a message of hope and resilience, suggesting that despite experiencing hardship or being hurt by others, one will ultimately heal and regain strength, and this restoration will occur publicly, in front of those who doubted them or believed they were defeated.
Here are a few possible rephrasings:
1. "God will restore you in the presence of those who believed they caused your downfall."
2.


