Contradiction with Ecclesiastes 9:5
Jeremiah 31:17 speaks of hope for the future, whereas Ecclesiastes 9:5 describes the dead as having no more hope or portion in anything done under the sun.
Ecclesiastes 9:5: For the living know that they shall die: but the dead know not any thing, neither have they any more a reward; for the memory of them is forgotten.
Contradiction with Job 7:9-10
Jeremiah 31:17 implies a return from exile or despair, contrasting Job 7:9-10 where it asserts that one who descends to the grave will not return.
Job 7:9-10: [As] the cloud is consumed and vanisheth away: so he that goeth down to the grave shall come up no [more].
Contradiction with Isaiah 38:18
Jeremiah 31:17 offers hope and a future, while Isaiah 38:18 states that death cannot praise or hope for truth.
Isaiah 38:18: For the grave cannot praise thee, death can [not] celebrate thee: they that go down into the pit cannot hope for thy truth.