To diagnose this further you will need a USB-C power meter to plug into the one of the ports with your power brick. It will tell you if the power circuitry within your system is working correctly or not and if the battery is charging at all.
This series did encounter a high failure with one of the chips. So far the feeling is if you tend to run your battery down quite low and then recharge stresses this chip. The way you will know is the voltage will step between two levels. If you have the tools you can even validate if the chip is blown. Give this a view [https://youtu.be/7cNg_ifibCQ?si=pFqZH5dAHpTyK09m|How most 16" Macbook Pros often kill themselves & why they're unfixable] so depending on what you encounter you may need a new logic board.