Meaning of the word "it is ill sitting at Rome and striving with the Pope" in English

What does "it is ill sitting at Rome and striving with the Pope" mean in English? Explore the meaning, pronunciation, and specific usage of this word with Lingoland.

it is ill sitting at Rome and striving with the Pope

US /ɪt ɪz ɪl ˈsɪtɪŋ æt roʊm ænd ˈstraɪvɪŋ wɪð ðə poʊp/
UK /ɪt ɪz ɪl ˈsɪtɪŋ æt rəʊm ənd ˈstraɪvɪŋ wɪð ðə pəʊp/
"it is ill sitting at Rome and striving with the Pope" picture

Idiom

it is unwise to oppose or struggle against those who are in a position of power or authority over you

Example:
I wouldn't challenge the CEO's decision directly; it is ill sitting at Rome and striving with the Pope.
He realized that it is ill sitting at Rome and striving with the Pope after his protest was ignored by the local council.