You are told to look for the
silver lining.  What causes this
effect?  The sun shines from behind a
dark cloud, showing you with its luminous rays that even in the face of
obstacles the Light is still there.  It
catches your attention and you are drawn to it. 
All light is like this.  When you
pass from this physical existence, a great light will draw you onward.  It is the contrast between dark and light
that has always shown you the way.  You
are the Light, and so, like seeks like. 

Do not curse the darkness.  This is sage advice.  Darkness serves a great purpose, but you need
not remain there.  Look for that silver
lining and you shall find it simply because the Light in you which will never
go out seeks its Source.  With that
Source you are eternally connected. 
Light is your natural state.