This bit is just kind of random and weird.
There was some sort of battle involving 4 kings vs. 5 kings, and at some point one of the kings took stuff from Sodom and Gomorrah, which included Lot (and Lot’s possessions, oh dear). Abram heard about this and decided to go rescue him…he took a bunch of his people and attacked them, and took Lot (and his possessions!), and other people and goods.
Afterward, there is this weird exchange between Abram and the king of Sodom. At first, Abram has all the goods (that originally came from Sodom), and Abram apparently gives 10% of this to the king of Salem (Don’t know why…maybe it’s because the king of Salem was praising Abram, saying he was blessed by God and such. With Abram, flattery will get you everywhere apparently). After this, the king of Sodom says, give me my people and keep the stuff for yourself. Abram says he doesn’t want to take anything from the king of Sodom, so that he won’t owe the king anything later (I thought pride was one of those 7 deadly sins, lol). But he already gave away 10% of the stuff that he admits he doesn’t want, and never considered to be his. Bit weird.
So, Abram is willing to take stuff (under false pretenses no less) from the pharaoh of Egypt, but is too high-and-mighty to take stuff freely offered from the King of Sodom. But he's not too high-and-mighty to give the King of Sodom's stuff away to other people.
This whole chapter confuses me. Actually, make that, everything that has happened so far confuses me.