Star Wars' Mandalorians are based on a variety of real-life cultures and religions, many of which have their own codes of virtue and ways of the warrior. Ahead of The Mandalorian season 3, which features more live-action Mandalorians than ever before, showrunners Jon Favreau and Dave Filoni have shared their creative inspirations for the Mandalorian people. However, they also credit Star Wars creator George Lucas and his original material, as well.
https://screenrant.com/jon-favreau-reveals-real-life-inspiration-for-mandalorian-sects/