Psalms 119:62 (KJV)

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