The sun shall not strike you by day,
nor the moon by night.
The 2 lines of v.6 are not only poetic parallels but use a favorite Hebrew way of expressing totality:
naming a pair of opposites to include everything between (cf. verse 8).
The Lord's protection avails against the known and the unknown; perils of day and night; the most overpowering forces and the most insidious.