Render light difficulties

I've selected a nice light effect from Viewport Shading as seen in the image below:

But the actual render doesn't look like in the preview. It looks like this:

How to render the image like in the preview?