You should look into the german brand Busch & Muller, https://www.bumm.de/en/. I bought a headlight from them last year and it has been perfect for my commutes through unlit bike paths.
In Germany there are regulations that states that a bike headlight must not blind oncomming vehicles, so B&M has developed a some very nice lenses/optics for their headlights that prevents that, and at the same time makes the beam very even on the road before you, making them particularly good when you need to not just be seen by others but also light up the road to be able to see it.
The model I have is the Ixon Core that runs on a battery rechargeable by USB. the mounting hardware is solid, the battery life is good, and the build quality is as good as it gets - and rain proof too.
If you live in the USA, I think Peter White Cycles imports and sells them, but if you're in Europe, I guess most german online bike shop will stock them (I got mine from Bike24.com).