References to the sun in the Bible include its beneficial effects in agriculture (Deut. 33: 14) and also the unpleasant injuries it causes (Ps. 121: 6). It symbolizes the glory of God (Rev. 1: 16) but on the day of the Lord the sun will be eclipsed (Joel 2: 10; Rev. 6: 12).
Worship of the sun was common in the ancient world and was strictly forbidden to Israelites.