Short answer: Psalm 69:21 is itself an allusion to Obadiah, and to Deuteronomy 32:32-33.
Obadiah is a minor prophet and, coincidentally only has 21 verses. Jesus alludes to Obadiah verses 1-4 which relates to the incoming judgment on Edom but is applying it to Capernaum. IE: Anywhere you see "Edom", think "Capernaum":
[Oba 1:1-4 NLT] (1) This is the vision that the Sovereign LORD revealed to Obadiah concerning the land of Edom. We have heard a message from the LORD that an ambassador was sent to the nations to say, "Get ready, everyone! Let's assemble our armies and attack Edom!" (2) The LORD says to Edom, "I will cut you down to size among the nations; you will be greatly despised. (3) You have been deceived by your own pride because you live in a rock fortress and make your home high in the mountains. 'Who can ever reach us way up here?' you ask boastfully. (4) But even if you soar as high as eagles and build your nest among the stars, I will bring you crashing down," says the LORD.
However, in John 19:28 he alludes to the rest of Obadiah and applies it to Jerusalem! This is because Obadiah is description of the vengeance that he will wreak upon Edom, which by my reading is now Jerusalem, for their cruelty in Israel's desperate need. So in this way Obadiah's prophecy becomes clear: It is prophecy of the cruelty with which the messiah is treated and vengeance that follows in the form of the First Jewish-Roman War circa 70ad:
[Oba 1:5-21 NLT] (5) "If thieves came at night and robbed you (what a disaster awaits you!), they would not take everything. Those who harvest grapes always leave a few for the poor. But your enemies will wipe you out completely! (6) Every nook and cranny of Edom will be searched and looted. Every treasure will be found and taken. (7) "All your allies will turn against you. They will help to chase you from your land. They will promise you peace while plotting to deceive and destroy you. Your trusted friends will set traps for you, and you won't even know about it. (8) At that time not a single wise person will be left in the whole land of Edom," says the LORD. "For on the mountains of Edom I will destroy everyone who has understanding. (9) The mightiest warriors of Teman will be terrified, and everyone on the mountains of Edom will be cut down in the slaughter. (10) "Because of the violence you did to your close relatives in Israel, you will be filled with shame and destroyed forever. (11) When they were invaded, you stood aloof, refusing to help them. Foreign invaders carried off their wealth and cast lots to divide up Jerusalem, but you acted like one of Israel's enemies. (12) "You should not have gloated when they exiled your relatives to distant lands. You should not have rejoiced when the people of Judah suffered such misfortune. You should not have spoken arrogantly in that terrible time of trouble. (13) You should not have plundered the land of Israel when they were suffering such calamity. You should not have gloated over their destruction when they were suffering such calamity. You should not have seized their wealth when they were suffering such calamity. (14) You should not have stood at the crossroads, killing those who tried to escape. You should not have captured the survivors and handed them over in their terrible time of trouble. (15) "The day is near when I, the LORD, will judge all godless nations! As you have done to Israel, so it will be done to you. All your evil deeds will fall back on your own heads. (16) Just as you swallowed up my people on my holy mountain, so you and the surrounding nations will swallow the punishment I pour out on you. Yes, all you nations will drink and stagger and disappear from history. (17) "But Jerusalem will become a refuge for those who escape; it will be a holy place. And the people of Israel will come back to reclaim their inheritance. (18) The people of Israel will be a raging fire, and Edom a field of dry stubble. The descendants of Joseph will be a flame roaring across the field, devouring everything. There will be no survivors in Edom. I, the LORD, have spoken! (19) "Then my people living in the Negev will occupy the mountains of Edom. Those living in the foothills of Judah will possess the Philistine plains and take over the fields of Ephraim and Samaria. And the people of Benjamin will occupy the land of Gilead. (20) The exiles of Israel will return to their land and occupy the Phoenician coast as far north as Zarephath. The captives from Jerusalem exiled in the north will return home and resettle the towns of the Negev. (21) Those who have been rescued will go up to Mount Zion in Jerusalem to rule over the mountains of Edom. And the LORD himself will be king!"
The "wine of Sodom" is described in Deuteronomy, referring to their grapes as gall:
[Deu 32:32-33 ASV] (32) For their vine is of the vine of Sodom, And of the fields of Gomorrah: Their grapes are grapes of gall, Their clusters are bitter: (33) Their wine is the poison of serpents, And the cruel venom of asps.
God says he is holding back on vengeance for the blood of the righteous until later:
Deu 32:34-36 ASV Is not this laid up in store with me, Sealed up among my treasures? (35) Vengeance is mine, and recompense, At the time when their foot shall slide: For the day of their calamity is at hand, And the things that are to come upon them shall make haste. (36) For Jehovah will judge his people, And repent himself for his servants; When he seeth that their power is gone, And there is none remaining, shut up or left at large.
Jesus said that the current generation is THE GENERATION upon which the long "store up" wrath will fall:
[Mat 23:33-39 ASV] (33) Ye serpents, ye offspring of vipers, how shall ye escape the judgment of hell? (34) Therefore, behold, I send unto you prophets, and wise men, and scribes: some of them shall ye kill and crucify; and some of them shall ye scourge in your synagogues, and persecute from city to city: (35) that upon you may come all the righteous blood shed on the earth, from the blood of Abel the righteous unto the blood of Zachariah son of Barachiah, whom ye slew between the sanctuary and the altar. (36) Verily I say unto you, All these things shall come upon this generation. (37) O Jerusalem, Jerusalem, that killeth the prophets, and stoneth them that are sent unto her! how often would I have gathered thy children together, even as a hen gathereth her chickens under her wings, and ye would not! (38) Behold, your house is left unto you desolate. (39) For I say unto you, Ye shall not see me henceforth, till ye shall say, Blessed is he that cometh in the name of the Lord.
The judgment arrived within 40 years of Jesus' pronouncement in the form of the war with Rome:
[Luk 21:20-24 ASV] (20) But when ye see Jerusalem compassed with armies, then know that her desolation is at hand. (21) Then let them that are in Judaea flee unto the mountains; and let them that are in the midst of her depart out; and let not them that are in the country enter therein. (22) For these are days of vengeance, that all things which are written may be fulfilled. (23) Woe unto them that are with child and to them that give suck in those days! for there shall be great distress upon the land, and wrath unto this people. (24) And they shall fall by the edge of the sword, and shall be led captive into all the nations: and Jerusalem shall be trodden down of the Gentiles, until the times of the Gentiles be fulfilled.
It is this horrific day of judgment that is described in the Revelation.
Related:
https://hermeneutics.stackexchange.com/a/89521/20832