Mong- Israel also has military buildings near civilian areas.
Of course - but that is not enough to mean they use human shields like Hamas. Remember this key important point: there are no specifically military buildings in Gaza. There are only civilian buildings, taken over by Hamas to shoot their rockets from inside, often with civilians purposefully in them.
To add, according to the Geneva Convention article 19 states that hospitals are not valid military targets unless they are used to commit acts deemed harmful to the enemy, such as using them as positions to fire from. However, to attack them, warnings must be given along with reasonable time limits. There are similar clauses defining when places of cultural significance are given similar protections but are not explicitly mentioned in the geneva conventions.
https://www.ohchr.org/en/instruments-mechanisms/instruments/geneva-convention-relative-protection-civilian-persons-time-war