Here’s another cross-reference that I found quite interesting:

Psalm 107:10-16 (emphasis mine) Isaiah 45:1,2
10 Those who sat in darkness and in the shadow of death
Bound in affliction and irons–
11 Because they rebelled against the words of God
And despised the counsel of the Most High,
12 Therefore He brought down their heart with labor;
They fell down and there was none to help.
13 Then they cried out to the Lord in their trouble
And He saved them out of their distress.
14 He brought them out of darkness and the shadow of death,
And broke their chains in pieces.
15 Oh, that men would give thanks to the Lord for His goodness,
And for His wonderful works to the children of men!
16 For He has broken the gates of bronze,
And cut the bars of iron in two.
Thus says the Lord to His anointed,
To Cyrus, whose right hand I have held–
To subdue nations before him
And loose the armor of kings,
To open before him the double doors,
So that the gates will not be shut:
2 “I will go before you
And make the crooked places straight;
I will break in pieces the gates of bronze
And cut the bars of iron.

Presumably, Psalms was written before Isaiah. So was Isaiah quoting here?