Put words in someone’s mouth
Here’s what it means
To tell or enable that person exactly what to say.
Why the Bible says it this way
The expression can describe instruction from one person to another or God's giving a message to a prophet.
An idiom is a familiar phrase whose meaning comes from the whole expression, not from reading each word by itself.