The rebellion referred to was rebellion against God. Scripture is filled with references to God's people successfully rebelling against oppressors or staving off invaders provided they were right with God first. This is not a license to revolution but you're mischaracterizing scripture.
I’m starting to think jeanguy04 has a VERY light understanding of scripture (not that mine is great, but c’mon, his takes are ridiculous). That, or he is INTENTIONALLY taking things out of context. If the latter, there is a little warning about that at the end of the Bible. Hint (for those who don’t know): It’s not a good thing, and the consequences are fairly awful...