Proverbs 6:23

Porque el mandamiento es lámpara, y la enseñanza es luz, Y camino de vida las reprensiones que te instruyen, (RVR 1960)

John Gill’s Exposition of the Whole Bible

For the commandment is a lamp,…. The law of God is a lamp or candle to see to work by and to walk by; it enlightens the eyes and directs the feet, and makes working more pleasant, and walking more comfortable; and indeed wit, bout it a man knows not rightly what to do or where he should walk, or where he is walking; see Psalm 119:105;

and the law is light; it makes things clear and manifest, what is right and what is wrong; it enlightens the eyes of the understanding, whereby persons come to see both their sin and their duty; and it directs them to avoid the one and do the other; see Psalm 19:8;

and reproofs of instruction are the way life; kind reproofs given by parents agreeable to the word of God, which instruct what should be shunned and what should be performed, when attended to, put men in the way of an honourable and useful life; and are the means of preserving them from a scandalous and useless one.