You're welcome. Just to give you an example on why the muscle forces matter:
View attachment 347856
From:
https://www.sicot-j.org/articles/sicotj/full_html/2016/01/sicotj150120/F1.html
The femur has a crooked upper end (femoral neck) (B). If you apply only vertical forces at the the joint surfaces, the neck will break off rather quickly. But in the active body you usually have large muscle forces pulling at those hills around the neck (trochanter) with horizontal components, so the compression is well aligned with the neck there.
View attachment 347857
Also, when you look at the shaft of the femur from the side (A) you see it bowing forward in the middle, which would lead to buckling and early breaking if loaded only axially at the ends of the shaft. But in the active body you have many muscles pulling at the back side of the femur (linea aspera), which opposes the buckling.
View attachment 347858
In both cases the shape of the bone developed to minimize the local bending moments under the combined load from joints contact and muscles / ligaments.