格言 is a more common word for proverb or maxim; 金言名句 is more literary and emphasizes the 'golden' or precious quality of the saying.
名言 is a general term for a famous or well-known saying; 金言名句 specifically implies a wise, aphoristic quality.
Compound of 金言 (golden saying) and 名句 (famous phrase). The exact historical derivation is uncertain, but the combination reinforces the idea of a precious, wise saying.