In Daniel 7, there is clear distinction between the Ancient of Days (God) and "one like the Son of Man" (Jesus) as well as the "saints of the Most High" where Jesus is not equated with God. Jesus is one who receives authority from God and rules alongside the saints:
The Anicent of Days is God:
Daniel 7
9As I continued to watch,
thrones were set in place,
and the Ancient of Days took His seat.
His clothing was white as snow,
and the hair of His head was like pure wool.
His throne was flaming with fire,
and its wheels were all ablaze.
10A river of fire was flowing,
coming out from His presence.
Thousands upon thousands attended Him,
and myriads upon myriads stood before Him.
The court was convened,
and the books were opened.
22until
the Ancient of Days arrived and pronounced judgment in favor of the saints of the Most High, and the time came for them to possess the kingdom.
The "Son of Man" is a seperate figure from the Ancient of Days who receives authority:
Daniel 7
13In my vision in the night I continued to watch,
and I saw One like the Son of Man
coming with the clouds of heaven.
He approached the Ancient of Days
and was led into His presence.
14And
He was given dominion,
glory, and kingship,
that the people of every nation and language
should serve Him.
His dominion is an everlasting dominion
that will not pass away,
and His kingdom is one
that will never be destroyed.
The saints share in authority, judgement, and dominion in the kingdom:
Daniel 7
18But
the saints of the Most High will receive the kingdom and possess it forever—yes, forever and ever.’
22until the Ancient of Days arrived and pronounced judgment in favor of
the saints of the Most High, and the time came for them to possess the kingdom.
27Then
the sovereignty, dominion, and greatness of the kingdoms under all of heaven will be given to the people, the saints of the Most High. His kingdom will be an everlasting kingdom, and all rulers will serve and obey Him.’
So Jesus is one of the saints who was given joint authority over the kingdom. This is why scripture teaches about reigning with Jesus and serving God with him:
2 Timothy 2
we will also reign with Him;
if we deny Him,
He will also deny us;
Revelation 5
10You have made them to be a kingdom
and priests to serve our God,
and they will reign upon the earth.”