Deuteronomy 17:16

And when he will have been appointed king, he shall not multiply horses for himself, nor lead the people back into Egypt, having been exalted by the number of his horsemen, especially since the Lord has instructed you never to return along the same way

Other versions

King James Version

But he shall not multiply horses to himself, nor cause the people to return to Egypt, to the end that he should multiply horses: forasmuch as the LORD hath said unto you, Ye shall henceforth return no more that way.

English Standard Version

Only he must not acquire many horses for himself or cause the people to return to Egypt in order to acquire many horses, since the LORD has said to you, 'You shall never return that way again.'

New International Version

The king, moreover, must not acquire great numbers of horses for himself or make the people return to Egypt to get more of them, for the LORD has told you, "You are not to go back that way again."