The sentences certainly make sense to me. The first one is the natural, common one. The second one is grammatically possible but we do not use it with the '-ing' verb form, even though we can easily say 'Use this money for a computer' or 'use this money for the purchase of a computer'.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.