Then when he says, though I myself have reason for confidence in the flesh also, he gives his own example: first, he mentions the prestige he had under the Law; secondly, he shows how he scorned it (3:7). In regard to the first he does two things: first, he makes a general statement; secondly, he explains it part by part (3:5).
In regard to the first he does two things: first, he shows the confidence he could have had in the things of the Law, saying: We must not put our confidence in the things of the Law, though I myself have reason for confidence in the flesh also, i.e., I could have, if I... desired, because "Whatever anyone dares to boast of—I am speaking as a fool—I also dare to boast of that," as he says in 2 Corinthians (11:21). And I can do this with more reason, because I have done more: "I am talking like a madman" (2 Cor. 11:23). He mentions all these things in order more effectively to destroy the observances of the Law. For many scorn things they do not know or do not have; and this is not right, but only when a person has something and then scorns it and does not glory in it. Thus, if the Apostle had no prestige during the time of the Law, this could be cited as the reason why he went over to the gospel. Therefore, he shows the prestige he had under the Law.
Source: Commentary on Philippians