Yes, his words are inspired by God; but in some cases, Paul himself states that he is sharing his own opinion (1 cor 7:6). Paul is not always commanding the same for all
Where Paul seems contradicting, we compare his words to Jesus; not the other way around.
Jesus defied gender roles.
Jesus included women.
Jesus challenges the patriarchy.
Jesus respected women.
Jesus empowered women.
Jesus truly loved women.
When in doubt about someone’s interpretation of Scripture, follow Jesus!