This novel is set in a Chinese village before World War One. The protagonist lives with his wife, baby, and father, his wife was a maid with very rich family. It is the second day of the New Year, He is on the way home from his wife's ex-master's place with his wife, with having the son in his arms after her brief visit.
Wang Lung laughed aloud and he held the child tenderly against him. How well he had done?how well he had done! And then as he exulted he was smitten with fear. What foolish thing was he doing, walking like this under an open sky, with a beautiful man child for any evil spirit passing by chance through the air to see! <The Good Earth by Pearl S. Buck> I'd like to know if I replace the underlined phrase with to-infinitive without the meaning change. Thank you in advance for your help.
Top answer
Your basic idea is reasonable, but in this case "walking" has a better parallelism with "doing".
— GPY
Free · every Monday
Get the Weekly English Kit 📬
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.