Joshua 10:12-14 

“On the day the Lord gave the Amorites over to Israel, Joshua said to the Lord in the presence of Israel: ‘Sun, stand still over Gibeon, and you, moon, over the Valley of Aijalon.’ So the sun stood still, and the moon stopped, till the nation avenged itself on its enemies, as it is written in the Book of Jashar.”

Joshua, another leader of the Israelites, was leading a long battle against their enemies the Amorites. He asks the sun to stop moving so he can buy some extra time in the battle. According to the Bible, the sun stood still until the Israelites were avenged.