A man walked into a convenience store in Wollongong, Australia, put a $20 bill on the counter and asked for change. When the clerk opened the cash drawer, the man pulled a gun and asked for all the cash in the register, which the clerk promptly provided. The man took the cash from the clerk and fled, leaving the $20 bill on the counter. The total amount of cash he got from the drawer? Fifteen dollars.

We all act foolishly at times—even if, unlike this would-be thief, we’re trying to do the right thing. The key is how we learn from our foolish behavior. Without correction, our poor choices can become habits, which will negatively shape our character. We’ll become “fools [who] lack sense” (Ecclesiastes 10:3).

Sometimes it’s hard to admit our foolishness because of the extra work it requires. Perhaps we need to reflect on a particular character flaw, and that’s painful. Or maybe we need to admit that a decision was made hastily and next time we should take more care. Whatever the reason, it never pays off to ignore our foolish ways.

Thankfully, God can use our foolishness to discipline and shape us. Discipline isn’t “pleasant at the time” but its training yields good fruit in the long run (Hebrews 12:11). Let’s accept our Father’s discipline for our foolish behavior and ask Him to make us more like the sons and daughters He intends us to be.