No, ' acted from ' means 'acted as a result of'. He acted in that way as a result of his compassion for his victims. Another collocation is 'act out of'-- 'he acted out of compassion for his victims' -- with the same meaning, 'as a result of'.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.