47 Because you did not serve the LORD your Godjoyfully and gladly in the time of prosperity,
48 therefore in hunger and thirst, in nakedness and dire poverty,you will serve the enemies the LORD sends against you.
I referenced the underlying Hebrew and a couple other translations, but this structure isn't in any of them. The ESV follows the Hebrew word order more closely: "47 Because you did not serve the LORD your God with joyfulness and gladness of heart, because of the abundance of all things, 48 therefore you shall serve your enemies whom the LORD will send against you, in hunger and thirst, in nakedness, and lacking everything."