To play the game safely and legally, you can find it through the following official channels: Official Purchase & Play Options
is not a free-to-play game. While the specific build you mentioned, v5.1.148.0 , was a legitimate minor patch released in December 2022, articles offering "free downloads" for this version typically refer to unauthorized or pirated copies.
: You can play the full game for "free" (as part of your monthly subscription) through the Xbox app for Windows .