No, terrorists are people who attack civilians as a war crime. Including actions from both the IDF and Hamas. And certain actions from US troops in various wars. But this is not the first account nor instance of UNRWA and its facilities being used in support of or directly for when Hamas does military action, which only endangers Palestinian civilians. If hospitals and schools etc. are indiscriminately used as war facilities, they become valid targets under international law, and thereby makes the civilians there much more at risk.