"Wisdom is the principal thing; Therefore get wisdom. And in all your getting, get understanding." (Proverbs 4:7; NKJV)
Principal - the first, in place, time, order or rank (Strong's).
Wisdom - knowledge and the ability to make the right choice at the opportune time.
Understanding - discernment
"If any of you lacks wisdom, let him ask of God, who gives to all liberally and without reproach, and it will be given to him." (James 1:5; NKJV)