Hebrews 12:5-12

and you have forgotten the encouragement which is addressed to you as sons: "My son, refrain from thinking lightly of the discipline the Lord inflicts, and giving up when you are corrected by Him.

Revelation 16:9

so that men were severely scorched, but they only cursed the name of God who had authority over these plagues, and would not repent and give Him glory.

Treasury of Scripture Knowledge

Summary

Wherefore doth a living man complain, a man for the punishment of his sins?

Bible References

A man

Hebrews 12:5
and you have forgotten the encouragement which is addressed to you as sons: "My son, refrain from thinking lightly of the discipline the Lord inflicts, and giving up when you are corrected by Him.
Revelation 16:9
so that men were severely scorched, but they only cursed the name of God who had authority over these plagues, and would not repent and give Him glory.