Acts 5:29 But Peter and the other apostles answered and said: “We ought to obey God rather than men.”
This is one of those places in the New Testament where we are commanded to obey God totally. It may not seem like it to us but the original language is quite strong.
I think the wording could have been more like “we MUST obey God exclusively” but that may have given people a way of disobeying authorities.
Man does not always think of everything, but God does. Man may have hidden agendas, God has an exclusive goal.
Trust God and continue to try and do everything for His glory and according to His will. It is profitable for all!