Joshua 10:13
11 As they fled from Israel on the slope leading down from Beth Horon, the Lord threw down on them large hailstones from the sky, all the way to Azekah. They died—in fact, more died from the hailstones than the Israelites killed with the sword. 12 The day the Lord delivered the Amorites over to the Israelites, Joshua prayed to the Lord before Israel: “O sun, stand still over Gibeon; O moon, over the Valley of Aijalon!” 13 The sun stood still and the moon stood motionless while the nation took vengeance on its enemies. The event is recorded in the Scroll of the Upright One. The sun stood motionless in the middle of the sky and did not set for about a full day. 14 There has not been a day like it before or since. The Lord listened to a human being, for the Lord fought for Israel! 15 Then Joshua and all Israel returned to the camp at Gilgal.
Psalms of Solomon 18:12
10 Our God is great and glorious living in the highest heavens, who arranged the sun and moon into orbits to mark the times of the hours from day to day. And they have not deviated from their course that he appointed for them. 11 Their course each day is in the fear of God, from the day God created them and until forever. 12 And they have not wandered from the day he created them, from ancient generations. They have not veered off their course except when God directed them by the command of his servants.
Notes and References
"... Elsewhere in the Old Testament, lawfulness is attributed to the courses of the sun, moon, and stars, the ebb and flow of the tides, the alternation of seasons, and even to meteorological phenomena like the wind, rain, and lightning ... The stress here on nature’s obedience to God’s word was intended as a contrast to the foolishness of humans who disregard God’s (moral) laws, as the context makes abundantly clear (Sirach 16; 17). The contrast between the obedience of the luminaries and the rebelliousness of humans was made even more explicit in an early segment of 1 Enoch, and it reappeared in the Testament of Naphtali, the Psalms of Solomon, and the Dead Sea Scrolls ..."
Kaiser, Christopher B. "Early Christian Belief in Creation and the Beliefs Sustaining the Modern Scientific Endeavor" in Stump, J. B., and Alan G. Padgett (eds.) The Blackwell Companion to Science and Christianity (pp. 3-13) Wiley-Blackwell, 2012