Realistically, assume you were going to upgrade anyway.
$1200 PC vs $1500-$2000 MacBook is really only 300-800 difference, and MacBooks hold their value on the second hand market EXPONENTIALLY better than windows.
So 3-8 years at 100$ a year, but also it’s worth 3x as much as the comparable PC in 5 years