All of this sets the stage for Numbers 13.
So God either tried to kill all the giants with a local flood not knowing there were giants elsewhere, or God literally couldn't stop voyeur angels from doing this again and again. Not powerful enough or completely inept. Your view of God is appalling.