Yes. If you exceed the limit, which is $21,240 in 2023, $1 of your benefits will be withheld for every $2 you make above the limit. You must promptly tell Social Security how much you expect to earn so that the correct amount can be withheld.
If you receive more benefits than you're entitled to, you'll have to pay them back. Also, you may have to pay a penalty if you didn't promptly notify Social Security.
The $21,240 cap is in effect when you work and receive benefits in a year before the one in which you reach full retirement age, or FRA, which is 66 years and 4 months for people born in 1956 and 66 and 6 months for people born in 1957. If you will reach FRA in 2023, the limit is higher ($56,520) and the withholding lower ($1 in benefits for every $3 in earnings above the cap).
When you hit full retirement age, the earnings cap goes away. Past that date, there is no benefit withholding no matter how much you make from work.