Deuteronomy 17:16

Amplified Bible (AMP)
Further, he shall not [f]acquire many [war] horses for himself, nor make the people return to Egypt in order to acquire horses [to expand his military power], since the Lord said to you, ‘You shall never return that way again.’

Read Deuteronomy 17:16 in other translations