Quick answer
A man wrecks his own road and then takes it up with God. The verse describes a reflex most people recognize once it is named.
Read both lines
The sequence is the whole point, and it runs in one direction only: the foolishness comes first, the twisted way second, the complaint third. What makes the observation sting is how natural the third step feels from inside it. Nobody plans to blame God for a mess of their own making; it simply arrives as the first available explanation. The verb translated "frets" carries heat rather than sorrow, and the object of that heat is not the situation but the LORD Himself. The verse is not scolding. It is holding up a mirror at the exact moment a person is least able to find one.
What it does not mean
This is not a verse about grief, and it must never be used on someone in pain. Scripture is full of people who take their anguish straight to God and are never rebuked for it: the Psalms argue with Him, Job says everything he thinks, and Habakkuk opens with a complaint. What 19:3 describes is narrower, a man assigning God the bill for consequences he authored. It says nothing about the person whose life came apart through no fault of their own, and aimed there it turns a mirror into a weapon.
Related: Proverbs 19:21 · Psalm 73:2–17 · Proverbs 13:23
New King James Version®, Copyright © 1982, Thomas Nelson. All rights reserved. Full copyright information. Scripture provided by API.Bible.
Go Deeper
If this verse has been used to put weight on you that it was never carrying, ask about it directly.