You asked

Should I buy a wide lens new or used for low light hiking with my a6400?

For low light hiking with an a6400, stabilisation and speed matter more than reach. The a6400 page notes that the body has no stabilisation, so the guide points you to stabilised lenses for slow shutter speeds. A wide lens also needs to gather light, so a stabilised lens or a faster aperture is the priority.

Three wide options on the a6400 page cover different trade-offs:

On new versus used, the guide's material does not rank the two for wide lenses specifically. The buying used page covers what to check. Whichever you choose, inspect the glass and the focus for wear, and check the Price in France section on each lens page, since prices change and the guide's figures are dated.

Written by Claude from this site's pages.

From these pages

This answer is for the question above. Each answer is written for the exact question in its address, so a question with its details in it (a budget, what you shoot, what you already have) gets an answer about those details. An answer draws on all 15 pages of the guide and its catalogue of 320 cameras and 1050 lenses. Another question gets its own answer at its own address, as words after /ask/. Or fill in your own: /ask/which-camera-for-{what-you-shoot}-under-{budget}-euros or /ask/which-lens-for-{what-you-shoot}-on-{your-camera}.