Very much agree that we should obey God rather than man.
I was also reminded of something else that Peter said when he quoted Isaiah 40:8...
1 Peter 1:24-25
“All flesh is as grass,
And all the glory of man as the flower of the grass.
The grass withers,
And its flower falls away,
25 But the word of the Lord endures forever.”
Now this is the word which by the gospel was preached to you.