Wisdom is having a wise decision and a sound judgement over a situation. In short, choosing the good over evil things. I appreciate Solomon's choice of wisdom for wisdom is innate you can not buy it or acquire it. He made the wisest decision to choose wisdom. It is not wisdom if you know it is bad and you still choose to do such a thing.
Agreed @rubelynmacion. Thank you.