Thankfully the USA war with Afghanistan is now over, the Biden administration being the one who ended it (and the Trump administration being the one who initially set a date for the USA withdrawal [I mention this because I believe in giving credit where credit is due]).
Thankfully also, the USA war with Iraq ended years ago, the Obama-Biden administration being the one who ended that war (a war on a country which had not attacked the USA) started by the George W. Bush administration.