Lots of supportive great advice here. My only two adds here are:
there is actually a guidebook for biking safely. Very much similar to a driver manual. The SoCal Bike Associative used to have it posted years ago but look that up and give it a read.
find a local recreational biking group on your region and ride with them. There should be one that’s beginner friendly. If you can’t find one immediately look for a bike build community. We have a few in my city. One called Bike Kitchen. They teach you how to repair your bike and introduce you to other new riders and experts who love teaching.
Lots of supportive great advice here. My only two adds here are: