In Zechariah 5, the prophet sees a flying scroll which symbolizes God's swift judgment against transgressors of the law, particularly thieves and perjurers. The scroll, which is large and inscribed on both sides, represents the curses that will affect those who violate His commandments. This vision serves as a reminder that despite God's favor, sin will not go unpunished among His people.