System Details
Your AsRock Motherboard is a model B560M-C Rev.1.02
Your system. Supports 10th Gen Intel® Core™ Processors and 11th Gen Intel® Core™ Processors (LGA1200)
The replacement cpu is an AMD Ryzen and will not work for you.
Upon dismantling your heatsink/fan assembly and cpu, comparison was made to the replacement.
The replacement can not be installed on your motherboard.
Notice that the replacement cpu is comprised of pins, whereas your existing cpu is pinless.
Your AsRock Motherboard is a model B560M-C Rev.1.02
Your system. Supports 10th Gen Intel® Core™ Processors and 11th Gen Intel® Core™ Processors (LGA1200)
The replacement cpu is an AMD Ryzen and will not work for you.
Purchase Intel CPU's only (no AMD's)
YOU INQUIRED:
I found on Best Buy for $160, that there is a motherboard that can support my ryzen 7, wonder if it will work. www.bestbuy.com/site/msi-b550-gaming-plus-socket-am4-usb-c-gen-2-amd-atx-gaming-motherboard-pcie-gen-4-black/6424047.p?skuId=6424047
Response to subsequent inquiry
The prospective replacement motherboard you viewed and inquired about supports AM4 socket 3rd Gen AMD Ryzen™ processors.
I cannot say for certain if the cpu will or will not work because any conjecturing or investing my time to locate the answer creates potential liability.
However, you are admonished to speak directly with the manufacturer's of the products.
Information concerning your new AMD cpu's specs:
www.amd.com/ja/products/cpu/amd-ryzen-7-5700x
Information concerning your new prospective motherboard:
download.msi.com/archive/mnu_exe/mb/MPGB550GAMINGPLUS.html