We do foolish things because we are not wise to the word of God. We choose to walk in the flesh, and do our own thing.
Have you ever considered asking God for wisdom?
Ask, and it will be given to you. If you don’t ask, you don’t receive.
James 1:5 (KJV) – if any of you lack wisdom, let him ask of God, that giveth to all men liberally, and upbraideth not; and it shall be given him.