"To take something for granted" is an idiomatic expression take for granted 1 : to assume as true, real, or expected 2 : to value too lightly In this context, it means "to assume as true". His reasoning is vulnerable to criticism because he assumes that all religious music is inspiring even although that does not have to be true.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.