Sometimes we must be sacrificed for the greater good. As Caiaphas propesied that one should die lest the whole nation persish, he was thinking on flesh terms while his words had meaning way beyond that, to the spiritual and the souls of all Israel.
Psalms 44, verse 22 some see in reference to 1944 and what happened in the Holocaust. I believe that is a fulfillment and also from Pauls time, from beliving Jews in Messiah. Jews, weither believers in Moschiach yet or not, still represent G-d in the earth and because of this we are killed. We belong to him, yet he allows this, but it is for a witness to the nations. Who else dies for their G-d? Who stands strong in the face of adversity to not deny him, but rather die?
This was played out also in the time of the Maccabees, when Rome thought they could force Jews to do things that are an abomination to HaShem, but they found that some might, but not all.
All the day long......
I take that as a metaphor for continually, or ongoing, thus the psalmist is comparing the times of old when they went into the land and conquered it. But that was for a purpose then, and allowing the enemies to overpower, also has a purpose. But it is hard for us mere humans to see that.
Sometimes it was allowed because they were not faithful or not listening to do it his way, but also it must be understood that not every situation is the same. Just because he told you to do something today, doesn't mean that it should be done that way every day or every time. That is why we must be in constant communication with him, and each time ask what is the best way, what is good for today, may be disasterous tomorrow.
Only He knows. And his ways are much higher than ours.