In Job 1, when afflicted with sores from head to foot, after loosing his children, and his wealth, Job does not curse God but states that from dust he came and to dust he will become. He corrects his wife saying that one should not expect blessing without also expecting loss. He, at most, curses his birth and life.
Links:
202408211959