You could have made an effort to ACTUALLY READ A BOOK OR TWO on this topic rather than simply regurgitating spurious and specious comments from YouTube, websites like Urz etc..that would obviously never give credit least of all context about the Sino-Vietnamese BORDER CONFLICT.
The PLA leadership was certainly underwhelmed and disappointed by the performance of its forces that attacked into Vietnam but it nevertheless successfully managed to enter Vietnam and achieved it's stated objective of entering deep into Vietnamese territory and then withdrew back into China once this was accomplished.
Put it simply, the Chinese achieved it's stated STRATEGIC OBJECTIVE which was to teach Vietnam a lesson NOT CONQUER OR OCCUPY (that's a western idiotic nonsense) and BLED VIETNAM'S ECONOMY DRY while also proving to the Vietnamese leadership that their patron saint at the time which was the U.S.S.R. was not in a position to help them fight China in any meaningful way short of nuclear war. Plus, the Chinese attack on Vietnam was also a showcase to the U.S. that China is a willing and capable strategic ally against what was then seen as SOVIET UNION EXPANSIONIST POLICY. China managed to convinced ASEAN member states including your country, the PH that China will help assist and defend against any Vietnamese expansionist ambitions in the region.
Do you even know why Vietnam and China fought? What was their relative weaknesses and strengths? The massive FINANCIAL, HUMAN, AND MILITARY assistance it gave and provided to the Vietnamese efforts, first against the French colonizer, and then eventually against the U.S.
What's the Philippines claim to fame in the realm of warfare, battles? Please don't event try to bring up the Moro, and other Islamic/Muslim groups in the Philippines since they don't consider themselves "Filipino" when the very name itself is taken literally from A KING OF SPAIN LOL...Sit down.
Lastly:

95In Chinese Military Strategy in the Third Indochina War, Edward O’Dowd argues the Chinese conducted an ineffective military operation against Lang Son. His criticism covers the PLA’s artillery doctrine, personnel system, and logistics system. 96 The Chinese offered a different assessment. The 55th Army’s after-action report admitted that 1,271 Chinese troops had been killed and 3,779 wounded at Dong Dang and Lang Son. In addition, thirty tanks and thirty artillery pieces had been lost. However, the Chinese credited themselves with having inflicted 10,401 casualties on the Vietnamese defenders, most of them from the PAVN’s 3rd Division and the local units under its command along with a small force of the PAVN’s 327th Division. This number did not include those killed by gasoline, explosives, and flamethrowers in the tunnel complex of the French Fort and the caves at Lang Son. The 55th Army also recorded the destruction of forty-four PAVN tanks and six armored vehicles and the capture of a significant number of weapons, including 3 tanks, 3 armored vehicles, 29 trucks, 32 motorcycles, 99 artillery pieces, 2,200 small arms, 17,000 artillery rounds, and tons of other military supplies. Prior to withdrawing from Lang Son, the 55th destroyed 2,920 military and public facilities, literally turning the city into a ruin. 97 General Xu’s forces returned to China convinced that the combination of artillery fire and fierce ground combat at Lang Son had taught Vietnam a harsh and unforgettable “lesson.”
From the BOOK: DENG XIAOPING'S LONG WAR