In Jeremiah 8, what did God say he'd do to the wise men who rejected his word?

He'd give their wives to other men

The wise men are ashamed, they are dismayed and taken: lo, they have rejected the word of the LORD; and what wisdom is in them?

Therefore will I give their wives unto others. Jeremiah 8:9-10