Hosea 11
1 When Israel was a youth I loved him, And out of Egypt I called My son.
When we think God as The Father, we tend to bundle His Fatherhood with His role as Creator. What if I told you that isn't very biblically accurate? When you read the creation narrative in Genesis, nowhere is God described as a Father. In fact, it isn't until you get to the Redemption narrative in Exodus that God comes to be known as a Father by His covenant people. If God is the Father, then who is the son? In Exodus, it is Israel. And that is what Hosea is picking up on here.
Exodus 4:22 Then you shall say to Pharaoh, ‘Thus says Yahweh, “Israel is My son, My firstborn. 23So I said to you, ‘Let My son go that he may serve Me’; but you have refused to let him go. Behold, I will kill your son, your firstborn.” ’ ”
So the Fatherhood of God is not a broad, universal term, but a particular, covenantal one. See here in Amos 3:
1 Hear this word which Yahweh has spoken against you, sons of Israel, against the entire family which He brought up from the land of Egypt, saying, 2 “You only have I known among all the families of the earth; Therefore I will punish you for all your iniquities.”
The logic is clear. If Israel is the son and God is their Father, the only people He's known, then He will punish them as a father chastises a son. Unless you want to catch a bullet, you do not go around punishing other people's kids, but if you love yours, you most certainly punish them when they do wrong. What father doesn't chastise a son whom he loves?
Matthew 2:14 So Joseph got up and took the Child and His mother while it was still night, and departed for Egypt. 15And he remained there until the death of Herod, in order that what had been spoken by the Lord through the prophet would be fulfilled, saying, “OUT OF EGYPT I CALLED MY SON.”
For those who want to stick their head in the sand, ignore the Hebrew manuscripts, and only read the Septuagint, Matthew does not quote the Septuagint here but he quotes the Hebrew. Matthew, being carried by the Holy Spirit, makes this point. God did call His son Israel out of Egypt in the Exodus as in Hosea, but for Jesus to go to Egypt and be brought out is to signify something about Jesus. Israel is the son, but Jesus is the True Son, He is the True Israel, the Israel who never went wrong. Israel was given the Mosaic Covenant for a time, and if they were in that covenant then they were bnei brit, sons of the covenant, but Jesus was given the Eternal Covenant, being the Eternal Son to the Father. May you come to know God as Father through Jesus Christ.
2 The more they called them, The more they went from them; They kept sacrificing to the Baals And burning incense to graven images.
These are God's representatives, the Prophets, calling for Israel to return to covenant fidelity, which Israel did not heed.
3 Yet it is I who taught Ephraim to walk; I took them in My arms; But they did not know that I healed them. 4 I led them with cords of a man, with bonds of love, And I became to them as one who lifts the yoke from their jaws; And I bent down and fed them.
Here, Israel is described as being like a baby to God. He carried them in His arms, He taught them how to walk, He knelt down to feed them. When they were powerless to do anything for themselves, God was powerful to save them. Regarding the cord imagery, if you are in Christ, then consider there to be cords and tethers that connect you to Him.
5 They will not return to the land of Egypt; But Assyria—he will be their king Because they refused to return to Me. 6 And the sword will whirl against their cities
This is exactly what happened. Assyria conquered the northern kingdom of Israel and dispersed the tribes. Though they could not conquer the southern kingdom of Judah as recorded in Isaiah, because God's angel killed 185,000 of their army in one night. The whirling sword is emblematic of God's wrath, as you saw in Genesis.