Landscape is complete black when sky is at day and is shining bright when night

I have been playing around with directional light for a while and I can’t figure out why when I rotate the light to make it daylight and update the sphere, the landscape goes pitch black and vice versa. How can I fix this?