将以下文本进行语法纠正。


请将以下短文进行语法纠正。
"The boy runned to the store to buy some candy, but him didn't have enough money for it."
"The boy ran to the store to buy some candy, but he didn't have enough money for it."