Job 31:26

If I looked at the sun, when it flashed forth light, or at the moon, majestically marching along;

Ezekiel 8:16

So he brought me into the inner court of the house of Yahweh, and lo! at the opening of the temple of Yahweh, between the porch and the altar, about twenty-five men, - their backs towards the temple of Yahweh and their faces eastward, and they were bowing down eastward unto the Sun.

Deuteronomy 4:19

or lest thou shouldest lift up thine eyes towards the heavens and see the sun and the moon, and the stars - all the host of the heavens, and shouldest be seduced, and shouldest bow thyself down to them and he led to serve them, - the which Yahweh thy God hath assigned unto all the peoples under all the heavens;

Deuteronomy 17:3

yea hath gone, and served other gods, and bowed down unto them, - whether unto the sun or unto the moon or unto any of the host of the heavens which I have not commanded;

2 Kings 23:5

and he put down the idol-priests, whom the kings of Judah had appointed, so that incense might be burned in the high places, in the cities of Judah, and round about Jerusalem, - them also that burned incense to Baal, to the sun, and to the moon, and to the constellations, and to all the army of the heavens;

2 Kings 23:11

and he did away with the horses, which the kings of Judah had devoted to the sun, at the entrance of the house of Yahweh, near the chamber of Nathan-melech the courtier, which was in the suburbs, also, the chariots of the sun, burned he with fire;

Jeremiah 44:17

but, we will certainly do, the whole thing that hath gone forth out of our own mouth, by burning incense to the queen of the heavens, and pouring out to her drink-offerings, just as we and our fathers, and our kings and our princes, did, in the cities of Judah and in the streets of Jerusalem, then were we filled with bread and became prosperous, and calamity, saw we none;

Genesis 1:16-18

And God made the two great luminaries, - the greater luminary to rule the day, and the lesser luminary to rule the night, also the stars.

Deuteronomy 11:16

Take heed to yourselves, lest your heart be befooled, - and ye turn aside and serve other gods, and bow down to them.

Psalm 8:3-4

When I view thy heavens, the work, of thy fingers, moon and stars, which thou hast established,

Jeremiah 8:2

And shall spread them out - To the sun, and To the moon, and To all the host of the heavens, Whom they have loved, And whom they have served, And after whom they have walked, And whom they have sought, And to whom they have bowed themselves down, - They shall not be gathered, Neither shall they be buried, As heaps of dung on the face of the ground, shall they be.

Treasury of Scripture Knowledge

Summary

If I beheld the sun when it shined, or the moon walking in brightness;

General references

Bible References

Beheld

Genesis 1:16
And God made the two great luminaries, - the greater luminary to rule the day, and the lesser luminary to rule the night, also the stars.
Deuteronomy 4:19
or lest thou shouldest lift up thine eyes towards the heavens and see the sun and the moon, and the stars - all the host of the heavens, and shouldest be seduced, and shouldest bow thyself down to them and he led to serve them, - the which Yahweh thy God hath assigned unto all the peoples under all the heavens;
Deuteronomy 11:16
Take heed to yourselves, lest your heart be befooled, - and ye turn aside and serve other gods, and bow down to them.
Deuteronomy 17:3
yea hath gone, and served other gods, and bowed down unto them, - whether unto the sun or unto the moon or unto any of the host of the heavens which I have not commanded;
2 Kings 23:5
and he put down the idol-priests, whom the kings of Judah had appointed, so that incense might be burned in the high places, in the cities of Judah, and round about Jerusalem, - them also that burned incense to Baal, to the sun, and to the moon, and to the constellations, and to all the army of the heavens;
Jeremiah 8:2
And shall spread them out - To the sun, and To the moon, and To all the host of the heavens, Whom they have loved, And whom they have served, And after whom they have walked, And whom they have sought, And to whom they have bowed themselves down, - They shall not be gathered, Neither shall they be buried, As heaps of dung on the face of the ground, shall they be.
Ezekiel 8:16
So he brought me into the inner court of the house of Yahweh, and lo! at the opening of the temple of Yahweh, between the porch and the altar, about twenty-five men, - their backs towards the temple of Yahweh and their faces eastward, and they were bowing down eastward unto the Sun.

The moon

Psalm 8:3
When I view thy heavens, the work, of thy fingers, moon and stars, which thou hast established,
Jeremiah 44:17
but, we will certainly do, the whole thing that hath gone forth out of our own mouth, by burning incense to the queen of the heavens, and pouring out to her drink-offerings, just as we and our fathers, and our kings and our princes, did, in the cities of Judah and in the streets of Jerusalem, then were we filled with bread and became prosperous, and calamity, saw we none;

General references

Psalm 104:19
He hath made the moon for seasons, And, the sun, knoweth his place for entering in.
1 Corinthians 15:41
One, is the glory of a sun, and, another, the glory of a moon, and, another, the glory of stars, - nay! star from star, differeth in glory.