Hi Diamond,
Typically, “the” is the article used with “importance” as in, “the importance of moral in raising our children”. I agree with you that is a collective / uncountable noun, but that’s not the reason for using “the”, instead of “an”. In fact, “an” should be used when I say “I just...