Jesus wasn’t a bad bloke but his reputation as faultless is manufactured by religion - and he wasn’t faultless because he was human. He could become angry and vengeful, he wasn’t always accommodating to foreigners, he didn’t encourage family life, he wasn’t particularly caring towards his mother, he lived on charity, his family thought he was bonkers, and his wealthy friends, I believe, were instrumental in saving him from certain death on the cross. With the hocus pocus stripped from the story and potential clues followed, an intriguing possibility raises its head. Who was he? In my opinion he was exactly who the occupying Romans said he was - the King of the Jews - which was why they condemned him to death on a charge of insurrection. He was dangerous to them.
So what would Jesus have done? Probably not what you've been taught he might have done.