God can do amazing things with us—even though sometimes we make stupid (i.e. sinful, selfish, unbiblical) decisions.
Nobody is perfect; we all blow it sometimes. But God can still help us get back on our feet, learn the lessons we need to learn, and press on for his glory. A man by the name of Paul, who did some stupid things, was still inspired by the Holy Spirit to write Ephesians 3:20, “Now to him who is able to do immeasurably more than all we ask or imagine, according to his power that is at work within us…”