Yeah especially 38 approaches the barrier (or crossed, depends on genes and previous lifestyle) when body changes for the worse. Weaker, builds strength slower, regeneration takes longer, injuries come easier. Very bad and outright dangerous advice that scare away more people than actually help.

I'd say start with 2x a week, and 2 very important points - start gently since by description body isn't used to working out so it may take many weeks for it to grow connective tissue to handle new load; and start with a coach who will not push you like many love to do, but give you a gradual introduction and help avoid beginner's mistakes and injuries.

The main point is to not make every workout a hated chore that must be done, since such motivation won't last very long and subconsciousness will easily find ways to start avoiding that. Everybody I knew that subscribed to such regime from 0 and wanted to be pushed hard gave up in few months. Such a mindset is reserved further down the line, for specific types of personalities and not an universally good approach.

Once some form of affinity if not outright love for workouts and feeling/effects after forms, and routine sets in, find other sports. Don't just do gym mindlessly every day unless that's the only choice of activity... its rather sad use of all that gained potential when there are so many better, more fun & rewarding activities. Do group sports if you like them (I personally don't), and/or join groups of people doing such activities (ie hiking club must be almost everywhere, its such a basic and great thing).

Some 15 years ago I started ie organizing climbing sessions out of loneliness in similar situation as yours and amount of friends and women that entered my life in short period was non-trivial. Thats further down the line, but just a group similarly-minded people are already a massive boost. Be yourself, find your new hobbies or better passions, and this hard period will be over.

Do NOT spend most of your free time in front of screen, playing games or other rather toxic activities. They will make all negative things worse since its a very lonely hobby despite being in contact with many folks (multiplayer, singleplayer is even worse).