Yes He obviously knew they would reject Him, but He still had to show us how angry He was with the decision to kill His Son.
Question. If Yahweh's people had done what he WANTED them to do - to see the light and follow Jesus and NOT kill him - what would have happened to the world?
You ignored ParkingPlaces question, so I'll repeat it for you:
If Jesus had died in his sleep at age 85 after a long and wonderful life, would he have died for our sins?
If Yahweh's people had NOT angered him, and chosen to follow Jesus, would they ultimately have condemned the whole wold to damnation because Jesus would have been unable to die and take on everyone's sin?
You'll excuse me if I don't see their actions as a vital and necessary part of Yahweh's plan for the world, and why I struggle to see why he hates them for taking the exact actions he wanted them to take.