Does the word "light" have the same definition in the next two sentences?

Follow God's light.

Magoon's governorship in Cuba was viewed in a negative light by many Cuban historians for years thereafter.
different meanings