The King James Version Bible

Psalms 119:62

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