Yeah this is just a thing you have to design around while using FDM printers, as others have mentioned. I really like melting in threaded inserts if you need threads, otherwise use a drill bit or reamer. If you need super tight tolerances (like CNC level tight) then a consumer grade 3D printer likely won't get you there though.