Learning how not to make horrible faux pas like that is one of the hardest things about learning a new language - very much so.
I was reading a book in my local library by a British guy who lived with and photographed Bedouin people. Many Arabs are urbanised/settled, but some still roam the deserts of the Arabian peninsula and the Levant, rearing camels and/or sheep/goats (some Bedouin even consider Bedouin who raise sheep/goats as not true Bedouin XD).
This British author apparently highly offended a Dubai businessman by calling his ancestors 'Bedouin', lol. He didn't mean any offence, he obviously holds a romantic view of Bedouin people, unlike the Dubai businessman. XD