At midnight I will rise to give thanks unto thee because of thy righteous judgments.
At midnight I rise to give You thanks for Your righteous judgments.