“Ts all in the family. Moabites were descendants of Lot.........”
Ha, true.
But the line is even more direct. Ruth and Orpah’s father was a minor Moabite “king” and had aligned himself with the Philistines by, once again, marrying off his daughter.
That’s what they did back in those days, to keep peace.
Solomon married a daughter of the current Pharaoh of Egypt (it was allowed), so the Pharaoh attacked Gaza (then a Philistine Provence) and sacked it then gave it them as a ‘wedding present’. The Egyptians didn’t want it then and they don’t want it now, either...........................