A six-year NFL veteran found himself in a scary situation that he says almost took a turn for the worse.

Arizona Cardinals cornerback Antonio Hamilton tweeted Thursday that he suffered second-degree burns from a "freak accident" that "could've ended up deadly."

CLICK HERE FOR MORE SPORTS COVERAGE ON FOXNEWS.COM

Antonio Hamilton on field

Antonio Hamilton of the Arizona Cardinals defends against the Dallas Cowboys during an NFL game at AT and T Stadium in Arlington, Texas, on Jan. 2, 2022. (Cooper Neill/Getty Images)

"Had the greatest camp of my career & last Monday I had a accident that could've ended up deadly for me & my family but instead I got the short end of it by having my feet severely burned (2nd degree)," he tweeted on Thursday. "It was literally a freak accident and God spared me to only have these injuries."

Hamilton joined the Cardinals before the 2021 season and recorded a career-high 38 tackles, more than doubling his previous career-best. His four pass breakups also tied the most he's had in a season.

Antonio Hamilton running on field

Arizona Cardinals cornerback Antonio Hamilton runs onto the field during an NFL preseason game at State Farm Stadium in Glendale, Arizona, on Aug. 21, 2022. (Christian Petersen/Getty Images)

ARIZONA CARDINALS 2022-2023 NFL SCHEDULE

The 29-year-old has been primarily a special teams player during his time in the NFL, but he has not missed a game since 2018.

The South Carolina State product has 88 total tackles and nine passes defended in his career.

Antonio Hamilton kneeling

Antonio Hamilton of the Arizona Cardinals kneels in the end zone prior to an NFL game against the Los Angeles Rams at State Farm Stadium in Glendale, Arizona, on Dec. 13, 2021. (Cooper Neill/Getty Images)

CLICK HERE TO GET THE FOX NEWS APP

Hamilton was signed by the then-Oakland Raiders in 2018 as an undrafted free agent and spent two years with them, followed by two seasons with the New York Giants and one more in Kansas City with the Chiefs.