I have a lot of experience in this area because I’ve been to 37 countries, including 3rd world countries. I recommend obtaining a money belt. It’s a pouch that wraps around you and under your clothing that contains your passport and money. Watch out for pick pockets. They are expert.