"you have refused to let my son go". The word "him" refers to the people of Israel as God's son.
The word "son" here refers to the actual son of Pharaoh.