Because we are in God’s image we have value and worth even after the fall. Sin has put a stain on God’s image but hasn’t erased it.
“Whoever sheds the blood of man, by man shall his blood be shed, for God made man in his own image
Because we have sinned we are unworthy before God not man. Grace is the free and unmerited favor of God. As humans created in God’s image we deserve to be loved by others. We are only unworthy before God. Yet He bestows His grace on us making us worthy of eternal life only because we are in Christ and His righteousness. We are now accepted by God because we are in Christ. We are in a right standing with God. As a result we obey showing that we are worthy of salvation from sin and death.