That is a correct use of the future perfect. However, a picky little point. I prefer not to use "before" in this case, because the berries never get there, as compared to "I will have crossed ten streets before I get to the hotel".
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.