User Activity

I bought my iPhone 13 pro max 8 months ago, the charging cable no longer works, does the warranty apply here?