Joshua was asking if this is the reason God had brought them across the Jordan. Alternate translation: "Did you do it in order to give us into the hands of the Amorites to destroy us?" (See: [[rc://en/ta/man/translate/figs-ellipsis]])
The hands of the Amorites represents their control and power. Giving the Israelites into their hands to destroy them represents allowing the Amorites to have control of the Israelites and destroy them. Alternate translation: "To allow the Amorites to destroy us? (See: [[rc://en/ta/man/translate/figs-metonymy]])