Did you notice how little harm was done to armoured combat vehicles with portable anti-tank weapons in Iraq and Afghanistan?
The descendants of the once awe-inspiring Panzerfaust were largely impotent, with occasional (apparently lucky) penetrations of tanks being newsworthy enough to become knowledge of the world-wide armour community and fanbois.
The rebels were so very much impotent with conventional anti-tank weaponry that they had to focus on mine warfare. Not the normal conventional AT mines; bigger, artillery munition-derived mines. Eventually, improved mine protection of vehicles forced them to use mines so heavy not even Olympic weightlifters would call them "portable".
One might use more powerful rockets and missiles against tanks, but the tanks could just as well be equipped with active protection systems.
In the end, almost all of today's man-portable and even crew-portable anti-tank weapons can be considered defeated technically or tactically by high-end opponents.
The story is similar with ManPADS, the famous Stinger and similar missiles. Supposedly the nightmare of Soviet Su-25 aircraft and Mi-24 helicopters over Afghanistan during the 80's, by now we know very few Su-25s were actually shot down by Stingers. The Soviets were easily able to adapt to the threat by attacking from higher altitudes, beyond the service ceiling of the missiles.
The more recent conflicts even showed that infrared seeker missiles even of the modern pattern can be defeated with infrared countermeasures, re-opening the lower altitude band for hostile aviation.
The laser beam riding guidance principle appears to be the only reliable one that's left for ManPADS. The Starstreak is the only such true ManPADS (emphasis on man-portable!) weapon in use, and it's unsuitable against slow drones because of its 'three darts' principle. The more conventional alternative development BAC Thunderbolt had been cancelled when the drone issue wasn't pressing yet. The same happened to the similar Stinger competitor Ford Saber.
In the end, almost all of today's ManPADS can be considered defeated technically or tactically by high-end opponents.
Did you notice how modern armoured fighting vehicles are nowadays equipped with night sights and gun stabilization even for mere machineguns? Meanwhile, the infantry's machineguns are rarely equipped with even only a magnifying sight, and rarely with a better night sight than a starlight scope good for about 200 metres. Some machineguns such as the MG3 family aren't even really suitable for sights because of difficult mounting thereof.
Back in 1940, German infantry panicked when 37 mm anti-tank guns proved incapable to stop French B-1bis heavy tanks. They fled into woodland or into buildings.
Their machineguns proved impotent against armoured Il-2 attack aircraft and fast-moving Typhoon fighter-bombers as well.
I suppose we might be at that point again, but the power myths around "Javelin" and "Stinger" keep most of us from seeing it.