Jesus, in His pre-existent state, was in the form of God. "In the beginning was the Word and the Word was with God, and the Word was God" (John 1:1).
Jesus was God, manifest in the flesh (1 Timothy 3:16). Jesus did not demand or cling to His rights as God, but laid aside His Divine rights and privileges in order to take the form of a servant and be made in the likeness of men. He further humbled Himself by becoming obedient to the Father, even to the point of death.
This was the sacrifice that identified Jesus with humanity and enabled God to redeem mankind. By dying a criminal's death upon the cross, Jesus fulfilled the Old Testament prophecy in Deuteronomy 21:23 and bore our curse in His own body. This redeemed us from that curse and opened wide God's blessing of justification through faith in Christ and the promise of His Holy Spirit (Galatians 3:13-14).
Jesus left His state of being recognized and worshipped by all the hosts of heaven as God to become a man who was despised and rejected. The Creator became the creation; the Lord became the servant; the Highest became the lowest. All of this was done because of His great love for us.