1982 Ford F150 brake problem

Replace the master cylinder. Then re-bleed the brakes. I would bleed the how system to get out the old fluid. Also check the rear brakes for leaks. I don’t think you will find any. This sounds like a classic master cylinder failure.