Haneen Odetallah has an excellent piece up at @mondoweiss on the philosophy of Hamas in the writings of Yahya Sinwar:
The concepts of self-sacrifice, asceticism, and security awareness were crucial to Yahya Sinwar’s philosophy of resistance. The revolt that culminated with October 7 was the direct application of his political thought.