Leviticus 27:10

New International Reader's Version Bible (NIRV)
The one who makes the promise must not trade it. They must not trade a good animal for a bad one. And they must not trade a bad animal for a good one. Suppose they choose one animal instead of another. Then both animals become holy.

Read Leviticus 27:10 in other translations