Job 3:6

4 If only that day had turned to darkness! May God above disregard it; may no light shine upon it.

5 May darkness and gloom reclaim it, and a cloud settle over it; may the blackness of the day overwhelm it.

If only darkness had taken that night away! May it not appear among the days of the year; may it never be entered in any of the months.

7 Behold, may that night be barren; may no joyful voice come into it.

8 May it be cursed by those who curse the day — those prepared to rouse Leviathan.

Do read the surrounding verses too, because the context often says more than a single verse.

Compare

BSB
If only darkness had taken that night away! May it not appear among the days of the year; may it never be entered in any of the months.
KJV
As for that night, let darkness seize upon it; let it not be joined unto the days of the year, let it not come into the number of the months.
WEB
As for that night, let thick darkness seize on it. Let it not rejoice among the days of the year. Let it not come into the number of the months.
ASV
As for that night, let thick darkness seize upon it: Let it not rejoice among the days of the year; Let it not come into the number of the months.
DARBY
That night let gloom seize upon it; let it not rejoice among the days of the year; let it not come into the number of the months.
BLB
That night—let darkness take it! Let it not it rejoice among the days of the year; into the number of the months let it not come.
ÅB
Den natt - måtte mulm ta den! Den glede seg ikke blant årets dager, den komme ikke med i måneders tall!
OTB
Når det gjelder den natten, la tykk mørke gripe den;
la den ikke regnes blant årets dager,
eller bli nummerert blant månedene.
B1930
Den natt - måtte mulm ta den! Den glede sig ikke blandt årets dager, den komme ikke med i måneders tall!

Study notes (Tyndale)

Original text and word study