Jeremiah 22:4

22:4 If you are careful to obey these commands, then the kings who follow in David’s succession and ride in chariots or on horses will continue to come through the gates of this palace, as will their officials and their subjects.

Jeremiah 22:30

22:30 The Lord says,

“Enroll this man in the register as though he were childless.

Enroll him as a man who will not enjoy success during his lifetime.

For none of his sons will succeed in occupying the throne of David

or ever succeed in ruling over Judah.”